We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d834dc7 commit 844b294Copy full SHA for 844b294
.github/actions/amplify-preview/action.yaml
@@ -87,6 +87,7 @@ runs:
87
echo "COMMIT_ID=$(jq -r '.commitId' <<< "$job_info")" >> $GITHUB_OUTPUT
88
89
- uses: actions/github-script@v7
90
+ if: ${{ github.event_name == "pull_request" }}
91
env:
92
PREVIEW_URL: ${{ steps.get_amplify_branch.outputs.PREVIEW_URL }}
93
UPDATE_TIME: ${{ steps.get_amplify_branch.outputs.UPDATE_TIME }}
0 commit comments