Copy monkey package from Buster to Bookworm #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build repo | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
builds: | |
name: build repo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build repo | |
run: | | |
echo "$GPG_KEY" > ./key.asc | |
./repogen-linux-64bit --generate-web --generate-contents ./key.asc ./packages ./build | |
cp ./index.html ./build | |
shopt -s globstar | |
cat metrika.html | tee -a ./build/**/*.html | |
env: | |
GPG_KEY: ${{ secrets.GPG_KEY }} | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: build # The folder the action should deploy. | |
CLEAN: true # Automatically remove deleted files from the deploy branch |