Skip to content

Commit

Permalink
chore(ci): use poetry to run and build documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Mar 17, 2024
1 parent b358ecd commit 464281e
Show file tree
Hide file tree
Showing 5 changed files with 785 additions and 592 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,30 @@ jobs:
name: Build documentation website with MkDocs
runs-on: ubuntu-latest
steps:
- name: Configure Python
uses: actions/setup-python@v5
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install mkdocs
run: pipenv install
python-version: "3.11"

- name: Install poetry
run: pip install -U poetry

- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Install dependencies
run: poetry install --no-root

- name: Setup Pages
id: pages
uses: actions/configure-pages@v4

- name: Build with mkdocs
run: pipenv run mkdocs build
run: poetry run mkdocs build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
15 changes: 0 additions & 15 deletions Pipfile

This file was deleted.

Loading

0 comments on commit 464281e

Please sign in to comment.