aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-20 16:04:24 +0200
committerGravatar ks129 <[email protected]>2020-12-20 16:04:24 +0200
commiteb7c21d085911a569a9bf0cd5cb26f00ff0d8cc1 (patch)
treec60422adf5666fb34cfd5deb018b0e5150a018e4
parentAdd Git SHA build argument to Docker build in workflow (diff)
Create workflow for Sentry release creation
-rw-r--r--.github/workflows/sentry_release.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/sentry_release.yaml b/.github/workflows/sentry_release.yaml
new file mode 100644
index 0000000..27f3421
--- /dev/null
+++ b/.github/workflows/sentry_release.yaml
@@ -0,0 +1,24 @@
+name: Create Sentry release
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ create_sentry_release:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@master
+
+ - name: Create a Sentry.io release
+ uses: tclindner/[email protected]
+ env:
+ SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
+ SENTRY_ORG: python-discord
+ SENTRY_PROJECT: snekbox
+ with:
+ tagName: ${{ github.sha }}
+ environment: production
+ releaseNamePrefix: snekbox@