mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
68f62ca9cd
Signed-off-by: Alex <aleksandrosansan@gmail.com>
30 lines
637 B
YAML
30 lines
637 B
YAML
name: Add Release to Sentry
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
sentry_release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Create Sentry release
|
|
uses: getsentry/action-release@v1
|
|
env:
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
SENTRY_ORG: ppy
|
|
SENTRY_PROJECT: osu
|
|
SENTRY_URL: https://sentry.ppy.sh/
|
|
with:
|
|
environment: production
|
|
version: osu@${{ github.ref_name }}
|