Skip to content

Commit 50777ab

Browse files
authored
Download documentation artefact directly to site folder (mhammond#2608)
1 parent 9461174 commit 50777ab

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: '3.9'
26+
python-version: "3.9"
2727

2828
# We still need to install pywin32 because
2929
# AutoDuck/py2d.py currently relies on runtime imports for introspection
@@ -57,17 +57,15 @@ jobs:
5757
- uses: actions/download-artifact@v4
5858
with:
5959
name: documentation
60-
61-
- name: Unpack archive
62-
run: python -m zipfile -e site.zip .
60+
path: site
6361

6462
- uses: peaceiris/actions-gh-pages@v4
6563
with:
6664
github_token: ${{ secrets.GITHUB_TOKEN }}
6765
publish_dir: site
6866
commit_message: ${{ github.event.head_commit.message }}
69-
# Write .nojekyll at the root, see:
70-
# https://help.github.com/en/github/working-with-github-pages/about-github-pages#static-site-generators
67+
# Write .nojekyll at the root, see:
68+
# https://help.github.com/en/github/working-with-github-pages/about-github-pages#static-site-generators
7169
enable_jekyll: false
72-
# Only deploy if there were changes
70+
# Only deploy if there were changes
7371
allow_empty_commit: false

0 commit comments

Comments
 (0)