From 40aeda5bf35261bf18cc8d70d04e7967f49bdc4c Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Mon, 22 May 2023 12:01:53 +0300 Subject: [PATCH] fix: sentry job --- .github/workflows/nextjs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 8c532ac..e4aa032 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -106,13 +106,16 @@ jobs: runs-on: ubuntu-latest needs: deploy steps: - - uses: actions/checkout@v2 - - name: Sentry Release - uses: getsentry/action-release@v1.0.0 + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Create Sentry release + uses: getsentry/action-release@v1 env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG: ${{ secrets.SENTRY_ORG }} SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + # SENTRY_URL: https://sentry.io/ with: environment: production sourcemaps: ./out \ No newline at end of file