update version to 2.8.9 #157
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sentry Release | |
on: | |
push: | |
branches: | |
- dev | |
- test | |
- prod | |
paths: | |
- 'research-hub-web/**' | |
jobs: | |
sentry-release: | |
name: Create Sentry Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Get Branch | |
id: var | |
run: echo ::set-output name=branch::${GITHUB_REF#refs/*/} | |
- name: Output Branch | |
run: echo ${{ steps.var.outputs.branch }} | |
- name: Notify Sentry | |
# https://github.com/getsentry/action-release | |
uses: getsentry/[email protected] | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: university-of-auckland-7o | |
SENTRY_PROJECT: research-hub | |
with: | |
environment: ${{ steps.var.outputs.branch }} |