File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222 SENTRY_ORG : ${{ secrets.SENTRY_ORG }}
2323 SENTRY_PROJECT : ${{ secrets.SENTRY_PROJECT }}
2424 SENTRY_DSN : ${{ secrets.SENTRY_DSN }}
25- SENTRY_ENV : ${{ github.ref_name == 'main' && 'production ' || 'staging' }}
25+ SENTRY_ENV : ${{ github.ref_name == 'main' && 'staging ' || 'staging' }}
2626
2727 steps :
2828 - uses : actions/checkout@v4
5353 runs-on : ubuntu-latest
5454 needs : build
5555 # Update to 'Production' || 'Staging' when configure additional environment
56- environment : ${{ github.ref_name == 'main' && 'Staging ' || 'Staging ' }}
56+ environment : ${{ github.ref_name == 'main' && 'staging ' || 'staging ' }}
5757 permissions :
5858 id-token : write # Required for OIDC
5959 contents : read # Required for actions/checkout
7777 uses : azure/webapps-deploy@v3
7878 with :
7979 app-name : ${{ secrets.AZURE_APP_NAME }}
80- slot-name : ' staging '
80+ slot-name : ${{ github.ref_name == 'main' && 'production' || 'production' }}
8181 package : .
You can’t perform that action at this time.
0 commit comments