Skip to content

Commit

Permalink
only target prod release
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed Apr 17, 2024
1 parent 7a89b45 commit 0ffce7e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,14 @@ jobs:
:t-intensifies: `prod` updated to release `${{ github.event.release.tag_name }}`
failure-message: |
release `${{ github.event.release.tag_name }}` failed to update `prod`
sentry:
needs: [release]
uses: getsentry/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production
version: ${{ github.event.release.tag_name }}
9 changes: 0 additions & 9 deletions .github/workflows/use-deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@ jobs:
ecs-cluster: dotcom
ecs-service: dotcom-${{ inputs.deployment-env }}
docker-tag: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}

- uses: getsentry/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: mbtace
SENTRY_PROJECT: mbta-dotcom
with:
environment: ${{ inputs.deployment-env }}
version: ${{ fromJSON(steps.meta.outputs.json).labels[0] }}
smoke:
runs-on: ubuntu-latest
needs: deploy
Expand Down

0 comments on commit 0ffce7e

Please sign in to comment.