Skip to content

Commit

Permalink
env-vars-3
Browse files Browse the repository at this point in the history
  • Loading branch information
ppokrovskii committed May 25, 2024
1 parent 7ef939e commit b2c3eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/azure-staticwebapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
app_build_command: 'npm run build' # Static Web App build command to embed environment variables
env: # Add environment variables here
REACT_APP_GA_MEASUREMENT_ID: ${{ secrets.REACT_APP_GA_MEASUREMENT_ID }}
NODE_ENV: ${{ github.ref == 'refs/heads/main' && 'prod' || 'dev' }} # Set the node environment to enable/disable google analytics
NODE_ENV: ${{ github.ref }} # Set the node environment to enable/disable google analytics

###### End of Repository/Build Configurations ######

Expand Down

0 comments on commit b2c3eee

Please sign in to comment.