ci: add sentry actions
Some checks failed
Build and Push Docker Image / tests (push) Successful in 52s
Build and Push Docker Image / build (push) Failing after 1m16s

This commit is contained in:
Lars Hampe 2024-10-22 22:36:11 +02:00
parent 614e29544b
commit 983801ac91

View File

@ -32,6 +32,27 @@ jobs:
VITE_CLERK_PUBLISHABLE_KEY: ${{ vars.CLERK_KEY }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- name: Create Sentry API
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: api
with:
environment: production
sourcemaps: ./build/api/
- name: Create Sentry App
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: app
with:
environment: production
sourcemaps: ./build/app/
- name: Set docker chmod (temp solution)
run: sudo chmod 666 /var/run/docker.sock