Skip to content

Commit

Permalink
use variables for artifact name instad of hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
philgei committed Feb 18, 2025
1 parent 6bdc5d6 commit 619a11c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
name: ${{ vars.WRITERSIDE_WORKFLOW_ARTIFACT }}

- name: Unzip artifact
run: unzip -O UTF-8 -qq docs -d dir
run: unzip -O UTF-8 -qq ${{ vars.WRITERSIDE_WORKFLOW_ARTIFACT }} -d dir

- name: Setup Pages
uses: actions/configure-pages@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: docs
name: ${{ vars.WRITERSIDE_WORKFLOW_ARTIFACT }}
path: |
artifacts/${{ vars.WRITERSIDE_WORKFLOW_ARTIFACT }}
retention-days: 7

0 comments on commit 619a11c

Please sign in to comment.