Skip to content

Commit

Permalink
Don't store full dir structure in tarfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed Dec 12, 2024
1 parent 61b2f72 commit bd60385
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ jobs:
merge-multiple: true
path: extracted_builds

- name: extract tarfiles
run: |
for tarfile in *.tar.gz
do
tar -xvzf "$tarfile"
done
- run: ls -laR extracted_builds

- name: Add nojekyll file
Expand All @@ -52,3 +60,4 @@ jobs:
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto
dry-run: true
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
CONFIG_NAME: ${{ inputs.config-name }}
DASHBOARD_OUTPUT_DIR: ${{ steps.prepare.outputs.dashboard-output-dir }}
run: |
tar -cvf "$CONFIG_NAME.tar.gz" "$DASHBOARD_OUTPUT_DIR"
tar -cv -f "$CONFIG_NAME.tar.gz" -C "$DASHBOARD_OUTPUT_DIR" .
- name: Upload built dashboard as artifact
Expand Down

0 comments on commit bd60385

Please sign in to comment.