Skip to content

Commit b76358d

Browse files
committed
Pass Sentry auth token during FE build
1 parent abf5430 commit b76358d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ jobs:
306306
307307
conference_code=$(aws ssm get-parameter --output text --query Parameter.Value --with-decryption --name /pythonit/${{ env.TF_WORKSPACE }}/pycon-frontend/conference-code)
308308
echo "CONFERENCE_CODE=$conference_code" >> "$GITHUB_OUTPUT"
309+
310+
sentry_auth_token=$(aws ssm get-parameter --output text --query Parameter.Value --with-decryption --name /pythonit/${{ env.TF_WORKSPACE }}/common/sentry-auth-token)
311+
echo "SENTRY_AUTH_TOKEN=$sentry_auth_token" >> "$GITHUB_OUTPUT"
309312
- name: Build and push
310313
if: ${{ steps.image.outputs.image_exists == 0 }}
311314
uses: docker/build-push-action@v6
@@ -325,6 +328,7 @@ jobs:
325328
CMS_ADMIN_HOST=${{ fromJSON('["pastaporto-", ""]')[github.ref == 'refs/heads/main'] }}admin.pycon.it
326329
CMS_HOSTNAME=${{ steps.vars.outputs.cms_hostname }}
327330
CONFERENCE_CODE=${{ steps.vars.outputs.conference_code }}
331+
SENTRY_AUTH_TOKEN=${{ steps.vars.outputs.sentry_auth_token }}
328332
GIT_HASH=${{ steps.git.outputs.githash }}
329333
330334
deploy-fe:

0 commit comments

Comments
 (0)