Skip to content

Commit

Permalink
fix: add docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Aug 7, 2023
1 parent 9731ae4 commit 6a910b9
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: docs

on:
push:
branches: [dev, main]
pull_request:
branches: [dev, main]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3

- name: Install poetry
run: |
pipx install poetry
poetry config installer.modern-installation false
poetry config virtualenvs.in-project true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: poetry
cache-dependency-path: |
**/poetry.lock
- name: Install dependencies
run: |
poetry install --with=docs
- name: Create docs
run: |
poetry run make html

0 comments on commit 6a910b9

Please sign in to comment.