diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 59a2ffdcf..e6a6a4546 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -35,6 +35,10 @@ jobs: - ubuntu-20.04 # [linux, x64] runs-on: ${{ matrix.platform }} + + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + steps: - uses: actions/checkout@v4 with: diff --git a/gitbutler-ui/vite.config.ts b/gitbutler-ui/vite.config.ts index c36fdef7b..ff01a0d1e 100644 --- a/gitbutler-ui/vite.config.ts +++ b/gitbutler-ui/vite.config.ts @@ -11,7 +11,7 @@ export default defineConfig({ org: 'gitbutler', project: 'app-js', // this is nikita galaiko's personal sentry api token. - authToken: '04c6bc1df15346f39ed2fbeb99c0a8e25bcbedc4aba9461bb3a471733b8c80db', + authToken: process.env.SENTRY_AUTH_TOKEN, include: ['build'], cleanArtifacts: true, setCommits: {