Merge pull request #28 from sourcefuse/feature/client-vpn-refactor #537
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy docs to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
pip install mkdocs mkdocs-material | |
pip install mkdocs-techdocs-core | |
pip install mkdocs-include-markdown-plugin | |
pip install mkdocs-awesome-pages-plugin | |
- name: Deploy docs | |
run: | | |
mkdocs gh-deploy --force \ | |
--config-file mkdocs.yml \ | |
--remote-branch gh-pages \ | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |