mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 18:32:30 +08:00
20 lines
474 B
YAML
20 lines
474 B
YAML
name: Generate Documents
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- docs/**
|
|
- .github/workflows/mkdocs.yml
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.x
|
|
- run: |
|
|
pip install mkdocs-material=="9.*" mkdocs-static-i18n=="0.53"
|
|
- run: |
|
|
mkdocs gh-deploy -m "{sha}" --force --ignore-version --no-history |