Skip to content

Commit 3abd126

Browse files
committed
fix: ensure artifact is properly created and uploaded
1 parent eb3dddc commit 3abd126

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/deploy.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,15 @@ jobs:
4545
echo "Current directory structure:"
4646
ls -R ./site/dist/
4747
48+
- name: Create artifact directory
49+
run: |
50+
mkdir -p ./_site
51+
cp -r ./site/dist/* ./_site/
52+
4853
- name: Upload artifact
4954
uses: actions/upload-pages-artifact@v3
5055
with:
51-
path: ./site/dist
56+
path: ./_site
5257

5358
deploy:
5459
needs: build

0 commit comments

Comments
 (0)