From 358924d1f8fdc016a6a87b1419fcffcdd65965ac Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Wed, 31 May 2023 12:54:33 +0300 Subject: [PATCH] ci: update sentry job --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55c69ce..1001a4c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -90,6 +90,8 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - name: List files in workflow + run: ls -R ./ - name: Install Sentry CLI run: curl -sL https://sentry.io/get-cli/ | bash - name: Create Sentry release @@ -98,7 +100,7 @@ jobs: VERSION=$(sentry-cli releases propose-version) echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV - name: Upload sourcemaps to Sentry - run: sentry-cli releases files "$RELEASE_VERSION" upload-sourcemaps --ext map --ext js --url-prefix '~/static' './out/_next/static/' + run: sentry-cli releases files "$RELEASE_VERSION" upload-sourcemaps --ext map --ext js --url-prefix '~/static' './_next/static/' - name: Set commits for Sentry release run: sentry-cli releases set-commits "$RELEASE_VERSION" --auto - name: Deploy to Sentry