Skip to content

Fix folders structure for Bookworm #35

Fix folders structure for Bookworm

Fix folders structure for Bookworm #35

Workflow file for this run

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/github-pages-deploy-action@3.7.1
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