Skip to content

Commit f31c99f

Browse files
try to have Staging envrionment
1 parent 0acda3d commit f31c99f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/azure-static-web-apps-kind-plant-0e80e5803.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
1717
runs-on: ubuntu-latest
1818
name: Build and Deploy Job
19-
# Temporarily remove environment to avoid protection rules
20-
# environment: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Staging' }}
21-
environment: ${{ github.ref == 'refs/heads/main' && 'Production' || '' }}
19+
environment: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Staging' }}
2220
env:
2321
# Google Analytics
2422
NEXT_PUBLIC_GA_TRACKING_ID: ${{ secrets.NEXT_PUBLIC_GA_TRACKING_ID }}

0 commit comments

Comments
 (0)