Skip to content

only target prod release #248

only target prod release

only target prod release #248

Workflow file for this run

# Deploys released tag to production
name: "Deploy: release"
on:
release:
types:
- released
jobs:
release:
uses: ./.github/workflows/use-deploy-ecs.yml
with:
deployment-env: prod
extra-docker-tag: ${{ github.event.release.tag_name }}
secrets:
aws-role-arn: ${{ secrets.AWS_ROLE_ARN }}
docker-repo: ${{ secrets.DOCKER_REPO }}
notify:
needs: [release]
uses: ./.github/workflows/use-notify-slack.yml
if: ${{ !cancelled() }}
secrets:
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
with:
job-status: ${{ needs.release.result }}
success-message: |
: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]

Check failure on line 34 in .github/workflows/deploy-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-release.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
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 }}