Skip to content

Merge pull request #270 from yaleman/dependabot/github_actions/action… #161

Merge pull request #270 from yaleman/dependabot/github_actions/action…

Merge pull request #270 from yaleman/dependabot/github_actions/action… #161

Workflow file for this run

name: MKDocs Deployment to GitHub Pages
"on":
push:
branches:
- main # Set a branch to deploy
jobs:
mkdocs:
name: Deploy docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout main
uses: actions/checkout@v4.1.5
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Running mkdocs
run: |
python -m pip install --quiet --no-cache-dir --upgrade poetry
poetry install
poetry run mkdocs gh-deploy -m 'Commit {sha} MkDocs {version}'