We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8831f71 commit b96d1b7Copy full SHA for b96d1b7
1 file changed
.github/workflows/jekyll-build.yml
@@ -220,7 +220,7 @@ jobs:
220
221
- name: Prepare Artifacts # uploading artifacts may fail if not zipped due to very large quantity of files
222
shell: bash
223
- run: 7z a _site.zip ./_site/*
+ run: 7z a _site.zip ./_site/.
224
225
- name: Upload artifact
226
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
@@ -253,7 +253,7 @@ jobs:
253
# empty contents of gh-pages
254
- name: Clean
255
if: env.INPUT_CLEAN_GH_PAGES == 'true'
256
- run: rm -f -r ./gh-pages/*
+ run: find ./gh-pages -mindepth 1 -not -path './gh-pages/.git*' -delete
257
258
- name: Download artifact
259
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
0 commit comments