Only run tests on master branch & Python 3.11 #7
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: Build Documentation | |
on: | |
push: | |
branches: [ '**' ] | |
tags-ignore: [ '**' ] | |
jobs: | |
deploy-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install and Build | |
run: | | |
python -m pip install -q mkdocs | |
mkdocs build --verbose --clean --strict | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
if: github.ref == 'refs/heads/master' | |
with: | |
branch: gh-pages | |
folder: site |