Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
👷 Add Sentry to release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
flowirtz authored Sep 9, 2020
1 parent 116a0e1 commit 56ad25f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to Docker Registry
name: Publish to Docker and Sentry Registry
on:
release:
types: [published]
Expand All @@ -17,3 +17,12 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ env.RELEASE_VERSION }}"
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: "open-climate-fix"
SENTRY_PROJECT: "metoffice_ec2"
with:
environment: production
version: ${{ env.RELEASE_VERSION }}

0 comments on commit 56ad25f

Please sign in to comment.