diff options
author | 2020-08-22 02:17:49 +0200 | |
---|---|---|
committer | 2020-08-22 02:17:49 +0200 | |
commit | 34ad66914d14043b653f3e2245a06a5613b6e975 (patch) | |
tree | 65c51cd783c8dbc1c72ccb5658128d471a469b77 /.github/workflows | |
parent | Set the sentry_sdk.init release to git_sha. (diff) |
Create a GitHub Action to make a Sentry release.
This should be all we need to enable the releases feature in Sentry for
this project.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/sentry-release.yml | 23 |
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@ |