remove notify PR step because it is causing workflow to fail

This commit is contained in:
evan
2025-05-02 15:04:11 -07:00
parent f700c53154
commit d5a5fb1aa7
-15
View File
@@ -110,21 +110,6 @@ jobs:
Deployed from $GITHUB_REF to $FQDN
EOF
- name: Notify PR 🚀
if: ${{ success() && github.event_name == 'push' }}
run: |
set -euxo pipefail
echo "Checking for open PR from $GITHUB_HEAD_REF..."
pr_url=$(gh pr list --head "$GITHUB_HEAD_REF" --state open --json url -q '.[0].url')
if [ -z "$pr_url" ]; then
echo "No open PR found for branch $GITHUB_HEAD_REF"
exit 0;
fi
gh pr comment "$pr_url" --body "🚀 Deployed ${GITHUB_SHA} to [$FQDN](https://$FQDN)."
- name: Update deployment status ❌
if: failure()
run: |