diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f917e3f..139d350 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,6 +22,8 @@ jobs: uses: actions/checkout@v3 - name: Install, build, and upload your site uses: withastro/action@v1 + env: # Or as an environment variable + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} # with: # path: . # The root location of your Astro project inside the repository. (optional) # node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional) diff --git a/astro.config.mjs b/astro.config.mjs index db75fab..cba4826 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,11 +6,21 @@ import sentry from "@sentry/astro"; // https://astro.build/config export default defineConfig({ - integrations: [sentry()], - site: "https://3636.live", - vite: { - plugins: [VitePWA({ - manifest - })] - } -}); \ No newline at end of file + integrations: [ + sentry({ + dsn: "https://d9846d5e2c53aec80163141f77a9cabb@o1106499.ingest.sentry.io/4506118179586048", + sourceMapsUploadOptions: { + project: "3636-live", + authToken: process.env.SENTRY_AUTH_TOKEN, + }, + }), + ], + site: "https://3636.live", + vite: { + plugins: [ + VitePWA({ + manifest, + }), + ], + }, +});