Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit fe393cf

Browse files
committed
Fix docs CI
1 parent f190c53 commit fe393cf

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/docs.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,25 @@ defaults:
2323

2424
jobs:
2525
build:
26-
2726
runs-on: ubuntu-latest
2827

2928
steps:
30-
- uses: actions/checkout@v3
31-
- name: Set up Python
32-
uses: actions/setup-python@v4
33-
with:
34-
python-version: '3.10'
35-
- name: Install dependencies
36-
run: |
37-
python -m pip install --upgrade pip
38-
pip install hatch
39-
hatch env create docs
40-
- name: Build
41-
run: hatch --env docs run build
42-
- name: Upload artifact
43-
uses: actions/upload-pages-artifact@v1
44-
with:
45-
path: ./docs/_build
29+
- uses: actions/checkout@v3
30+
- name: Set up Python
31+
uses: actions/setup-python@v4
32+
with:
33+
python-version: "3.10"
34+
- name: Install dependencies
35+
run: |
36+
python -m pip install --upgrade pip
37+
pip install hatch
38+
hatch env create docs
39+
- name: Build
40+
run: hatch --env docs run build
41+
- name: Upload artifact
42+
uses: actions/upload-pages-artifact@v3
43+
with:
44+
path: ./docs/_build
4645

4746
deploy:
4847
environment:

0 commit comments

Comments
 (0)