Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Merge pull request #4 from ethho/dev-v0.1.0 #1

Merge pull request #4 from ethho/dev-v0.1.0

Merge pull request #4 from ethho/dev-v0.1.0 #1

Workflow file for this run

name: Build GitHub Pages Documentation
on:
push:
branches:
- main
paths:
- "docs/**.md"
- "mkdocs.yml"
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install Python dependencies
run: |
pipx install poetry
poetry config virtualenvs.create false
poetry install --with docs --sync
- name: Setup git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Publish docs
run: poetry run mkdocs gh-deploy