diff options
| author | 2020-12-22 20:33:09 -0500 | |
|---|---|---|
| committer | 2020-12-22 20:33:09 -0500 | |
| commit | e56551508be6a6a04e649b1256d6dafaae084d1a (patch) | |
| tree | 31551acbd936ef27e5dac0964fdbae72837c552d /.github | |
| parent | Rewrite `!verify` to account for new native-gate-only verification. (diff) | |
| parent | Merge pull request #1332 from python-discord/ks123/sentry (diff) | |
Merge branch 'master' of https://github.com/python-discord/bot into swfarnsworth/developer_command
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/sentry_release.yml | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6152f1543..6c97e8784 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,3 +55,5 @@ jobs: tags: | ghcr.io/python-discord/bot:latest ghcr.io/python-discord/bot:${{ steps.sha_tag.outputs.tag }} + build-args: | + git_sha=${{ github.sha }} diff --git a/.github/workflows/sentry_release.yml b/.github/workflows/sentry_release.yml new file mode 100644 index 000000000..b8d92e90a --- /dev/null +++ b/.github/workflows/sentry_release.yml @@ -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: bot + with: + tagName: ${{ github.sha }} + environment: production + releaseNamePrefix: bot@ |