5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-09 21:14:06 +08:00

add v3 docs workflow

This commit is contained in:
Lea Anthony 2023-09-08 10:23:43 +10:00
parent d98e1d3693
commit 679ec49e64
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
3 changed files with 25 additions and 5 deletions

25
.github/workflows/v3-docs.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: v3 docs
on:
push:
branches:
- v3-alpha
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install -r requirements.insiders.txt
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- run: mkdocs gh-deploy --force

View File

@ -1,4 +0,0 @@
# netlify.toml
[build]
command = "pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git && mkdocs build"
publish = "site"

View File

@ -1 +0,0 @@
3.8