Merge pull request #736 from synfinatic/dependabot/github_actions/act… #27
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: Update Docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/**' | |
- 'docs/**' | |
- 'mkdocs.yml' | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4 | |
- name: Deploy docs | |
uses: synfinatic/mkdocs-deploy-gh-pages@bump-mkdocs | |
# mhausenblas/mkdocs-deploy-gh-pages@master is an old version of mkdocs, so using my own | |
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# CUSTOM_DOMAIN: optionaldomain.com | |
CONFIG_FILE: mkdocs.yml | |
# EXTRA_PACKAGES: build-base | |
# GITHUB_DOMAIN: github.myenterprise.com | |
REQUIREMENTS: docs/requirements.txt |