fix workflow

This commit is contained in:
Lea Anthony 2023-09-08 10:42:13 +10:00
commit 70fd15de2d
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -9,6 +9,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
defaults:
run:
working-directory: ./mkdocs-website
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
@ -23,6 +26,7 @@ jobs:
mkdocs-material-
- run: sudo apt-get install pngquant
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- run: mkdocs build --config-file mkdocs.insiders.yml
- run: mkdocs gh-deploy --force
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}