Skip to content

Commit 4c2d1e8

Browse files
authored
fix(ci): Revert github-heroku integration workaround (#5061)
1 parent c47f4ca commit 4c2d1e8

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

.circleci/config.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -445,11 +445,6 @@ jobs:
445445
export PUBLISH_STORYBOOK_TO=${HEROKU_RELEASE_STORYBOOK_APP_NAME}
446446
else
447447
export PUBLISH_STORYBOOK_TO=${REVIEW_APP_NAME}
448-
export EXISTING_REVIEW_APP=$(heroku apps:info -a ${REVIEW_APP_NAME} --json | jq -r ".app.name")
449-
if [[ ${EXISTING_REVIEW_APP} == "" ]]; then
450-
heroku apps:create ${REVIEW_APP_NAME} -t sfdc-uxe-slds
451-
heroku pipelines:add slds -a ${REVIEW_APP_NAME} -s development
452-
fi
453448
fi
454449
echo "=============================="
455450
echo ${PUBLISH_STORYBOOK_TO}
@@ -467,11 +462,6 @@ jobs:
467462
gh api ${STATUS_URL} -f state=success -f environment_url=${SITE_URL} -H "Accept: application/vnd.github.ant-man-preview+json"
468463
done
469464
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-
475465
# Build & publish SLDS site (review app or upcoming/core-main/core-patch)
476466
publish-site:
477467
executor: slds-executor
@@ -527,11 +517,6 @@ jobs:
527517
echo "=============================="
528518
echo ${HEROKU_APP_NAME}
529519
echo "=============================="
530-
export EXISTING_REVIEW_APP=$(heroku apps:info -a ${HEROKU_APP_NAME} --json | jq -r ".app.name")
531-
if [[ ${EXISTING_REVIEW_APP} == "" ]]; then
532-
heroku apps:create ${HEROKU_APP_NAME} -t sfdc-uxe-slds
533-
heroku pipelines:add slds-site-previews -a ${HEROKU_APP_NAME} -s development
534-
fi
535520
heroku buildpacks -a ${HEROKU_APP_NAME} | grep "https://github.com/salesforce-ux/heroku-buildpack-nginx.git#dse" || heroku buildpacks:set https://github.com/salesforce-ux/heroku-buildpack-nginx.git#dse -a ${HEROKU_APP_NAME}
536521
heroku builds:create --source-tar site-next.tar.gz -a ${HEROKU_APP_NAME}
537522
@@ -545,14 +530,6 @@ jobs:
545530
gh api ${STATUS_URL} -f state=success -f environment_url=${SITE_URL} -H "Accept: application/vnd.github.ant-man-preview+json"
546531
done
547532
548-
- set-github-pr-number
549-
- run:
550-
name: Create comment with link to review app
551-
command: |
552-
export HEROKU_APP_NAME=$(cat workspace/heroku-app-name.txt)
553-
554-
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})"
555-
556533
vrt-init:
557534
executor: slds-executor
558535
resource_class: small

0 commit comments

Comments
 (0)