Refactor and update actions for python >3.8 #6
Workflow file for this run
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 mkdocs on new release action | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
deploy-docs: | |
name: Deploy Docs to GitHubIO | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup environment for docs deployment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install mkdocs | |
run: pip install mkdocs mkdocs-material markdown-include | |
- name: Deploy documentation | |
run: mkdocs gh-deploy --force |