Skip to content

Commit bc9d7ca

Browse files
committed
Fix
1 parent f15ee3e commit bc9d7ca

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CACHE_DATABASE_PATH="./other/cache.db"
55
SESSION_SECRET="super-duper-s3cret"
66
HONEYPOT_SECRET="super-duper-s3cret"
77
RESEND_API_KEY="re_blAh_blaHBlaHblahBLAhBlAh"
8-
SENTRY_DSN="your-dsn"
8+
SENTRY_DSN="https://be85ef67af06663b750a36fd66223526@o4505900870467584.ingest.us.sentry.io/4510528957317120"
99
SENTRY_ENVIRONMENT="development"
1010

1111
# this is set to a random value in the Dockerfile

.github/workflows/deploy.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,15 @@ jobs:
239239
--build-secret SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
240240
241241
echo "url=https://$FLY_APP_NAME.fly.dev" >> $GITHUB_OUTPUT
242+
- name: Create Sentry release
243+
env:
244+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
245+
SENTRY_ORG: kasper-peulen-d2924a93
246+
SENTRY_PROJECT: epic-rsc-stack
247+
if: ${{ env.SENTRY_AUTH_TOKEN }}
248+
uses: getsentry/action-release@v3
249+
with:
250+
environment: staging
242251

243252
cleanup-staging:
244253
name: 🧹 Cleanup staging app
@@ -297,10 +306,9 @@ jobs:
297306
- name: Create Sentry release
298307
env:
299308
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
300-
# SENTRY_ORG: 'your sentry org id or slug'
301-
# SENTRY_PROJECT: 'your sentry project id or slug'
309+
SENTRY_ORG: kasper-peulen-d2924a93
310+
SENTRY_PROJECT: epic-rsc-stack
302311
if: ${{ env.SENTRY_AUTH_TOKEN }}
303312
uses: getsentry/action-release@v3
304313
with:
305-
environment:
306-
${{ github.ref == 'refs/heads/main' && 'production' || 'staging' }}
314+
environment: production

other/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ ARG COMMIT_SHA
3333
ENV COMMIT_SHA=$COMMIT_SHA
3434

3535
# Use the following environment variables to configure Sentry
36-
# ENV SENTRY_ORG=
37-
# ENV SENTRY_PROJECT=
36+
ENV SENTRY_ORG="kasper-peulen-d2924a93"
37+
ENV SENTRY_PROJECT="epic-rsc-stack"
3838

3939

4040
WORKDIR /myapp

0 commit comments

Comments
 (0)