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: Build/Publish Latest Release Docs | |
on: | |
release: | |
types: [published] | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10.6 | |
- name: Install Dependencies | |
run: | | |
pip install -r docs/requirements.txt | |
pip install pillow cairosvg mike | |
- name: Setup Docs Deploy | |
run: | | |
git config --global user.name "Docs Deploy" | |
git config --global user.email "[email protected]" | |
- name: Build Docs Website | |
run: mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest |