mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 11:32:21 +08:00
18 lines
435 B
YAML
18 lines
435 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@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
- run: pip install mkdocs-material mkdocs-static-i18n
|
|
- run: mkdocs gh-deploy -m "{sha}" --force --ignore-version --no-history |