Skip to content

Commit 1eaadfd

Browse files
authored
Revert to using upload-pages
Change didn't fix the problem
1 parent 2228b13 commit 1eaadfd

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,26 +45,11 @@ jobs:
4545
- name: Clean up files that shouldn't go onto the repository page
4646
run: rm -rf src/ && rm -rf build/
4747

48-
- name: Create artefact
49-
shell: sh
50-
run: |
51-
echo ::group::Archive artifact
52-
tar \
53-
--dereference --hard-dereference \
54-
-cvf "$RUNNER_TEMP/artifact.tar" \
55-
--exclude=.git \
56-
--exclude=.github \
57-
--exclude=".[^/]*" \
58-
./*
59-
echo ::endgroup::
6048
- name: Upload artifact
61-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-pages-artifact@v3
6250
with:
63-
name: github-pages
64-
path: ${{ runner.temp }}/artifact.tar
65-
retention-days: 1
66-
if-no-files-found: error
67-
51+
# Upload entire repository
52+
path: '.'
6853
- name: Deploy to GitHub Pages
6954
id: deployment
7055
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)