Merge pull request #32 from sourcefuse/31-update-version-constraints #492
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@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
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 }} |