Skip to content

Commit

Permalink
only check for should-upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
alextusinean committed Jul 2, 2024
1 parent cfe2d4f commit ba36af8
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 == 'true' }}
if: ${{ inputs.should-upload-artifact }}
with:
path: ./out

0 comments on commit ba36af8

Please sign in to comment.