sing-box/.github/workflows/mkdocs.yml
2022-08-26 21:53:46 +08:00

18 lines
436 B
YAML

name: Generate Documents
on:
push:
branches:
- main
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