aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-09-02 22:19:45 +0100
committerGravatar GitHub <[email protected]>2020-09-02 22:19:45 +0100
commit55d4b8ff7457629676c3964581900c0328cb4673 (patch)
treeca14eea4be10f530f216b3f371cabfef345792c1 /.github
parentMerge pull request #349 from ks129/tags-cleanup (diff)
parentMerge branch 'master' into add_deployment_info (diff)
Merge pull request #376 from python-discord/add_deployment_info
Add deployment info and set up Sentry releases
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/sentry-release.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/sentry-release.yml b/.github/workflows/sentry-release.yml
new file mode 100644
index 00000000..87c85277
--- /dev/null
+++ b/.github/workflows/sentry-release.yml
@@ -0,0 +1,23 @@
+name: Create Sentry release
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ createSentryRelease:
+ 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: site
+ with:
+ tagName: ${{ github.sha }}
+ environment: production
+ releaseNamePrefix: pydis-site@