Skip to content

Commit

Permalink
write comment only on PR event
Browse files Browse the repository at this point in the history
  • Loading branch information
taraspos committed Nov 6, 2024
1 parent d834dc7 commit 844b294
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/amplify-preview/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ runs:
echo "COMMIT_ID=$(jq -r '.commitId' <<< "$job_info")" >> $GITHUB_OUTPUT
- uses: actions/github-script@v7
if: ${{ github.event_name == "pull_request" }}
env:
PREVIEW_URL: ${{ steps.get_amplify_branch.outputs.PREVIEW_URL }}
UPDATE_TIME: ${{ steps.get_amplify_branch.outputs.UPDATE_TIME }}
Expand Down

0 comments on commit 844b294

Please sign in to comment.