Publish website #31
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: Publish website | |
on: workflow_dispatch | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout this repository | |
uses: actions/checkout@v4 | |
- name: Install/setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install mkdocs documentation tool and plugins | |
run: pip install -r requirements.txt | |
- name: Configure Deploy | |
run: | | |
git config --global user.name "Admin CIMug" | |
git config --global user.email "[email protected]" | |
git fetch origin gh-pages --depth=1 | |
- name: Build Docs Website | |
run: mike deploy --branch gh-pages --remote origin --push 1.1 |