Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

add sentry CLI to github actions

Amruth Pillai43c09666a038
diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml
index ce59ca2d3..da8ebc8ec 100644
--- a/.github/workflows/docker-build-push.yml
+++ b/.github/workflows/docker-build-push.yml
@@ -48,6 +48,13 @@ jobs:
username: $GITHUB_REPOSITORY_OWNER
password: ${{ secrets.GH_TOKEN }}
+ - name: Setup Sentry CLI
+ uses: mathieu-bour/[email protected]
+ with:
+ token: ${{ secrets.SENTRY_TOKEN }}
+ organization: reactive-resume
+ project: ${{ matrix.image }}
+
- name: Build and Push Docker Image
uses: docker/[email protected]
with:
diff --git a/client/sentry.client.config.js b/client/sentry.client.config.js
index 2a98b68fb..43526155e 100644
--- a/client/sentry.client.config.js
+++ b/client/sentry.client.config.js
@@ -1,7 +1,11 @@
import env from '@beam-australia/react-env';
import * as Sentry from '@sentry/nextjs';
+const sentryDSN =
+ env('CLIENT_SENTRY_DSN') ||
+ 'https://aceffdbdaa544768bc85216e7c6a9c50@o4504211187564544.ingest.sentry.io/4504213380071424';
+
Sentry.init({
- dsn: env('CLIENT_SENTRY_DSN'),
+ dsn: sentryDSN,
tracesSampleRate: 1.0,
});
diff --git a/client/sentry.server.config.js b/client/sentry.server.config.js
index 2a98b68fb..43526155e 100644
--- a/client/sentry.server.config.js
+++ b/client/sentry.server.config.js
@@ -1,7 +1,11 @@
import env from '@beam-australia/react-env';
import * as Sentry from '@sentry/nextjs';
+const sentryDSN =
+ env('CLIENT_SENTRY_DSN') ||
+ 'https://aceffdbdaa544768bc85216e7c6a9c50@o4504211187564544.ingest.sentry.io/4504213380071424';
+
Sentry.init({
- dsn: env('CLIENT_SENTRY_DSN'),
+ dsn: sentryDSN,
tracesSampleRate: 1.0,
});