Skip to content

Commit 05cfc7a

Browse files
committed
fix: deploy
1 parent a2d82e2 commit 05cfc7a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/jekyll.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Build Site
3131
uses: actions/jekyll-build-pages@v1.0.13
3232

33-
- name: Clean and Sanitize Build Output
33+
- name: Create Clean Build Output
3434
run: |
3535
# Create a clean directory
3636
mkdir -p clean_site
@@ -50,16 +50,12 @@ jobs:
5050
# Show directory size
5151
echo "Directory size:"
5252
du -sh clean_site
53-
54-
# Remove _site and rename clean_site to _site
55-
rm -rf _site
56-
mv clean_site _site
5753
5854
- name: Upload artifact
5955
uses: actions/upload-artifact@v4
6056
with:
6157
name: github-pages
62-
path: "_site"
58+
path: "clean_site" # Upload clean_site instead of _site
6359

6460
deploy:
6561
needs: build

0 commit comments

Comments
 (0)