Skip to content

MetinSa is deploying the documentation to gh-pages. #9

MetinSa is deploying the documentation to gh-pages.

MetinSa is deploying the documentation to gh-pages. #9

Workflow file for this run

name: mkdocs-deploy
run-name: ${{ github.actor }} is deploying the documentation to gh-pages.
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install and configure Poetry
uses: snok/[email protected]
with:
version: 1.2.2
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- name: Deploy docs to gh-pages
run: |
source $VENV
mkdocs gh-deploy --force --clean --verbose