File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 1717 permissions :
1818 contents : read # This is required for actions/checkout
1919
20+ env :
21+ SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
22+ SENTRY_ORG : ${{ secrets.SENTRY_ORG }}
23+ SENTRY_PROJECT : ${{ secrets.SENTRY_PROJECT }}
24+ SENTRY_DSN : ${{ secrets.SENTRY_DSN }}
25+ SENTRY_ENV : ${{ github.ref_name == 'main' && 'production' || 'staging' }}
26+
2027 steps :
2128 - uses : actions/checkout@v4
2229
2532 with :
2633 node-version : ' 20.x'
2734
35+ - name : Setup Sentry
36+ run : |
37+ npm install -g @sentry/cli
38+ sentry-cli --auth-token $SENTRY_AUTH_TOKEN info
39+
2840 - name : npm install, build, and test
2941 run : |
3042 npm install
6577 uses : azure/webapps-deploy@v3
6678 with :
6779 # Current: Using slots in a single web app
68- app-name : ${{ vars .AZURE_APP_NAME }}
80+ app-name : ${{ secrets .AZURE_APP_NAME }}
6981 # Update to 'Production' || 'Staging' when configure additional environment
7082 slot-name : ${{ github.ref_name == 'main' && 'Production' || 'Production' }}
7183
You can’t perform that action at this time.
0 commit comments