Skip to content

Commit 4856484

Browse files
committed
Fix usage of upload-pages-artifact action
1 parent 537dff9 commit 4856484

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@ jobs:
1414
with:
1515
python-version: "3.12"
1616
- run: |
17-
make install
17+
make install-optional
1818
cd docs
1919
make install-deps
2020
make build
21-
tar -C build/html/ --dereference --hard-dereference -cvzf $RUNNER_TEMP/github-pages.tar.gz .
2221
- name: Upload static files as artifact
2322
# We only execute this step if the commit is tagged, i.e., this is a release
2423
#if: startsWith(github.ref, 'refs/tags')
2524
id: deployment
26-
uses: actions/upload-pages-artifact@v3
25+
uses: actions/upload-pages-artifact@v4
2726
with:
28-
path: ${{ runner.temp }}/github-pages.tar.gz
27+
path: build/html/
2928

3029
deploy:
3130
name: Deploy docs

0 commit comments

Comments
 (0)