Skip to content

Merge pull request #488 from LAndersen1/master #736

Merge pull request #488 from LAndersen1/master

Merge pull request #488 from LAndersen1/master #736

Workflow file for this run

name: Documentation from Master (Develop) Branch
on:
push:
branches:
- master
env:
PYTHON_VERSION: 3.x
jobs:
updatedoc:
runs-on: ubuntu-latest
steps:
- name: Update doc
uses: actions/checkout@v2
with:
# Number of commits to fetch. 0 indicates all history. For mkdocs-git-revision-date-localized-plugin
# Default: 1
fetch-depth: 0
- name: Set up Python runtime
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Python dependencies
run: |
pip install -r ./docs/requirements.txt
- name: Setup git config
run: |
git config user.name test
git config user.email [email protected]
- name: Deploy documentation
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
run: |
mike deploy --push --rebase --update-aliases dev latest
mike set-default --push --rebase dev