Skip to content

Commit

Permalink
Configure Sentry release Workflow for GitHub actions
Browse files Browse the repository at this point in the history
Marking a new commit on master as release is required for the newly-added Ansible workflow with integrated Sentry deployment tracking. This  workflow is based on Poseidon's workflow:
https://github.com/openHPI/poseidon/blob/main/.github/workflows/sentry-release.yml
  • Loading branch information
MrSerth committed Sep 30, 2024
1 parent 7fb2361 commit 02793fe
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/sentry-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Create a Sentry release

on:
push:
branches: [ master ]

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Sentry release
uses: getsentry/action-release@v1
with:
projects: ${{ secrets.SENTRY_PROJECT }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}

0 comments on commit 02793fe

Please sign in to comment.