Skip to content

Commit a49b34d

Browse files
Merge pull request #13 from StreetSupport/feature/3001-set-up-sentry-error-monitoring-and-logging
Feature/3001 set up sentry error monitoring and logging
2 parents cf27ce3 + 4405437 commit a49b34d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
2323
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
2424
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
25-
SENTRY_ENV: ${{ github.ref_name == 'main' && 'staging' || 'staging' }}
25+
SENTRY_ENV: ${{ github.ref_name == 'main' && 'production' || 'staging' }}
2626

2727
steps:
2828
- uses: actions/checkout@v4
@@ -55,7 +55,7 @@ jobs:
5555
deploy:
5656
runs-on: ubuntu-latest
5757
needs: build
58-
environment: ${{ github.ref_name == 'main' && 'staging' || 'staging' }}
58+
environment: ${{ github.ref_name == 'main' && 'production' || 'staging' }}
5959
permissions:
6060
id-token: write
6161
contents: read
@@ -80,5 +80,4 @@ jobs:
8080
with:
8181
app-name: ${{ vars.AZURE_APP_NAME }}
8282
package: release.zip
83-
skip-app-build: true
8483
startup-command: 'npm start'

0 commit comments

Comments
 (0)