Skip to content

Commit

Permalink
fix(pages): do not zip gh-pages parent directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jan 7, 2025
1 parent dd19307 commit a0d8df7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/update-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@ jobs:
- name: Prepare Artifacts # uploading artifacts will fail if not zipped due to very large quantity of files
shell: bash
run: |
7z a "./build.zip" "gh-pages"
7z a build.zip ./gh-pages/* ./gh-pages-template/*
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: update
path: |
${{ github.workspace }}/build.zip
gh-pages-template/
path: ${{ github.workspace }}/build.zip
if-no-files-found: error
include-hidden-files: true
retention-days: 1
Expand Down

0 comments on commit a0d8df7

Please sign in to comment.