mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
add v3 docs workflow
This commit is contained in:
parent
d98e1d3693
commit
679ec49e64
3 changed files with 25 additions and 5 deletions
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…
Add table
Add a link
Reference in a new issue