mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix workflow
This commit is contained in:
parent
a958fa06e7
commit
3c28c28623
1 changed files with 7 additions and 6 deletions
13
.github/workflows/v3-docs.yml
vendored
13
.github/workflows/v3-docs.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue