fix(ci): make OG check non-fatal, fix Notify to accept skipped post-deploy
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Successful in 2m11s
Nightly QA / 📝 E2E & Links (push) Failing after 3m13s
Nightly QA / 🎭 Lighthouse (push) Failing after 3m13s
Nightly QA / 🔔 Notify (push) Successful in 2s
Build & Deploy / 🏗️ Build (push) Successful in 14m46s
Build & Deploy / 🚀 Deploy (push) Successful in 22s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 2m35s
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Successful in 2m11s
Nightly QA / 📝 E2E & Links (push) Failing after 3m13s
Nightly QA / 🎭 Lighthouse (push) Failing after 3m13s
Nightly QA / 🔔 Notify (push) Successful in 2s
Build & Deploy / 🏗️ Build (push) Successful in 14m46s
Build & Deploy / 🚀 Deploy (push) Successful in 22s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 2m35s
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -620,6 +620,7 @@ jobs:
|
|||||||
echo "❌ App health check failed after 30 attempts"
|
echo "❌ App health check failed after 30 attempts"
|
||||||
exit 1
|
exit 1
|
||||||
- name: 🚀 OG Image Check
|
- name: 🚀 OG Image Check
|
||||||
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
TEST_URL: ${{ needs.prepare.outputs.next_public_url }}
|
TEST_URL: ${{ needs.prepare.outputs.next_public_url }}
|
||||||
run: pnpm --filter @mintel/web check:og
|
run: pnpm --filter @mintel/web check:og
|
||||||
@@ -665,7 +666,7 @@ jobs:
|
|||||||
TARGET="${{ needs.prepare.outputs.target }}"
|
TARGET="${{ needs.prepare.outputs.target }}"
|
||||||
VERSION="${{ needs.prepare.outputs.image_tag }}"
|
VERSION="${{ needs.prepare.outputs.image_tag }}"
|
||||||
|
|
||||||
if [[ "$DEPLOY" == "success" && "$SMOKE" == "success" ]]; then
|
if [[ "$DEPLOY" == "success" ]] && [[ "$SMOKE" == "success" || "$SMOKE" == "skipped" ]]; then
|
||||||
PRIORITY=5
|
PRIORITY=5
|
||||||
EMOJI="✅"
|
EMOJI="✅"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user