Skip to content

docs: fix config file name #39

docs: fix config file name

docs: fix config file name #39

Workflow file for this run

name: Create 'latest' docs
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-20.04
# #no-ci in the commit log flags commit we don't want CI-validated
if: ${{ !contains(github.event.head_commit.message, '#no-ci') }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch all commits/branches
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.3.0"
- name: Install dependencies
run: |
poetry install --with docs
- name: Setup doc deploy
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Deploy docs with mike 🚀
run: |
poetry run mkdocs build
poetry run mike deploy --push --update-aliases latest