Skip to content

Merge pull request #1 from kausalflow/init #1

Merge pull request #1 from kausalflow/init

Merge pull request #1 from kausalflow/init #1

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
- 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