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:
parent
d98e1d3693
commit
679ec49e64
25
.github/workflows/v3-docs.yml
vendored
Normal file
25
.github/workflows/v3-docs.yml
vendored
Normal 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
|
@ -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"
|
@ -1 +0,0 @@
|
||||
3.8
|
Loading…
Reference in New Issue
Block a user