Skip to content

Commit 1626b29

Browse files
fix: allow hidden files (#341)
1 parent 8831f71 commit 1626b29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/jekyll-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ jobs:
220220
221221
- name: Prepare Artifacts # uploading artifacts may fail if not zipped due to very large quantity of files
222222
shell: bash
223-
run: 7z a _site.zip ./_site/*
223+
run: 7z a _site.zip ./_site/.
224224

225225
- name: Upload artifact
226226
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
@@ -253,7 +253,7 @@ jobs:
253253
# empty contents of gh-pages
254254
- name: Clean
255255
if: env.INPUT_CLEAN_GH_PAGES == 'true'
256-
run: rm -f -r ./gh-pages/*
256+
run: find ./gh-pages -mindepth 1 -not -path './gh-pages/.git*' -delete
257257

258258
- name: Download artifact
259259
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1

0 commit comments

Comments
 (0)