diff options
author | 2020-12-20 16:04:24 +0200 | |
---|---|---|
committer | 2020-12-20 16:04:24 +0200 | |
commit | eb7c21d085911a569a9bf0cd5cb26f00ff0d8cc1 (patch) | |
tree | c60422adf5666fb34cfd5deb018b0e5150a018e4 | |
parent | Add Git SHA build argument to Docker build in workflow (diff) |
Create workflow for Sentry release creation
-rw-r--r-- | .github/workflows/sentry_release.yaml | 24 |
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@ |