Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
Pushes new releases to Sentry
  • Loading branch information
watzon committed Nov 23, 2021
1 parent 314fda1 commit bb8b797
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ReleaseWorkflow

on:
release:
types: [published, prereleased]


jobs:
createSentryRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create a Sentry.io release
uses: tclindner/sentry-releases-action@v1.2.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_ORG: watzon
SENTRY_PROJECT: spamwatchbot
with:
tagName: ${{ github.ref }}
environment: production

0 comments on commit bb8b797

Please sign in to comment.