Skip to content

Improve policy generation #3

Improve policy generation

Improve policy generation #3

Workflow file for this run

name: Publish
on:
push:
branches:
- main
- master
jobs:
publish-docs:
name: Release Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY -b gh-pages public
pip install -r requirements.txt
python scripts/generate-policies-docs.py
mkdocs build --verbose --clean
- name: Publish
run: |
git config --global user.name 'Robot'
git config --global user.email '[email protected]'
rsync -av --delete --exclude='.git' site/ public/
cd public && git add . && git commit -m "Publish" && git push origin gh-pages