Skip to content

Commit

Permalink
build: update doc pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Oct 9, 2024
1 parent e69767e commit f14f800
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,27 @@ defaults:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch[cli]
hatch env create
- name: Build
run: hatch run mknodes build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./site
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install uv
uses: yezz123/setup-uv@v4
- name: Install dependencies
run: |
uv sync
- name: Build
run: uv run mknodes build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./site

deploy:
environment:
Expand Down

0 comments on commit f14f800

Please sign in to comment.