You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
heroku pipelines:add slds -a ${REVIEW_APP_NAME} -s development
452
+
fi
448
453
fi
449
454
echo "=============================="
450
455
echo ${PUBLISH_STORYBOOK_TO}
@@ -462,6 +467,11 @@ jobs:
462
467
gh api ${STATUS_URL} -f state=success -f environment_url=${SITE_URL} -H "Accept: application/vnd.github.ant-man-preview+json"
463
468
done
464
469
470
+
- run:
471
+
name: Create comment with link to review app
472
+
command: |
473
+
gh api --method POST -H "Accept: application/vnd.github.v3+json" /repos/salesforce-ux/design-system-internal/issues/${PR_NUMBER}/comments -f body="[Storybook Review app](https://${REVIEW_APP_NAME}.herokuapp.com) is ready for [${CIRCLE_SHA1}](https://github.com/salesforce-ux/design-system-internal/commit/${CIRCLE_SHA1})"
474
+
465
475
# Build & publish SLDS site (review app or upcoming/core-main/core-patch)
466
476
publish-site:
467
477
executor: slds-executor
@@ -517,6 +527,11 @@ jobs:
517
527
echo "=============================="
518
528
echo ${HEROKU_APP_NAME}
519
529
echo "=============================="
530
+
export EXISTING_REVIEW_APP=$(heroku apps:info -a ${HEROKU_APP_NAME} --json | jq -r ".app.name")
gh api --method POST -H "Accept: application/vnd.github.v3+json" /repos/salesforce-ux/design-system-internal/issues/${PR_NUMBER}/comments -f body="[SLDS Site Review app](https://${HEROKU_APP_NAME}.herokuapp.com) is ready for [${CIRCLE_SHA1}](https://github.com/salesforce-ux/design-system-internal/commit/${CIRCLE_SHA1})"
0 commit comments