Skip to content

Commit

Permalink
correctly check should-upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
alextusinean committed Jul 2, 2024
1 parent 9f1fa1a commit 82a42a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.runner }} next export
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
if: ${{ github.event_name == 'workflow_call' && inputs.should-upload-artifact }}
if: ${{ github.event_name == 'workflow_call' && inputs.should-upload-artifact == true }}
with:
path: ./out

0 comments on commit 82a42a8

Please sign in to comment.