github.com/sagernet/sing-box@v1.2.7/.github/workflows/mkdocs.yml (about)

     1  name: Generate Documents
     2  on:
     3    push:
     4      branches:
     5        - dev
     6      paths:
     7        - docs/**
     8        - .github/workflows/mkdocs.yml
     9  jobs:
    10    deploy:
    11      runs-on: ubuntu-latest
    12      steps:
    13        - uses: actions/checkout@v3
    14        - uses: actions/setup-python@v4
    15          with:
    16            python-version: 3.x
    17        - run: |
    18            pip install mkdocs-material=="9.*" mkdocs-static-i18n=="0.53"
    19        - run: |
    20            mkdocs gh-deploy -m "{sha}" --force --ignore-version --no-history