fix workflow

This commit is contained in:
Lea Anthony 2023-09-08 10:36:48 +10:00
commit 3c28c28623
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -1,16 +1,15 @@
name: v3 docs
name: ci
on:
push:
branches:
- v3-alpha
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./mkdocs-website
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
@ -23,6 +22,8 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install -r requirements.insiders.txt
- run: apt-get install pngquant
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- run: mkdocs gh-deploy --force
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}