Skip to content

feat(ops): #18 use commitizen (#21) #8

feat(ops): #18 use commitizen (#21)

feat(ops): #18 use commitizen (#21) #8

Workflow file for this run

name: Publish Docs
on:
push:
branches:
- main
workflow_dispatch:
inputs:
directory:
description: 'Build docs'
default: 'build it now'
required: false
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Setup Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.3.2
- name: Install Packages
run: poetry install --with docs,tutorial
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Deploy
run: poetry run mkdocs gh-deploy --force