Skip to content

Commit cb57ca1

Browse files
committed
try null environment
1 parent fa8dad6 commit cb57ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
docker-build:
4242
runs-on: ubuntu-latest
4343
timeout-minutes: 10
44-
environment: prod
44+
environment: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && 'prod' || null }}
4545
needs: [set-variables]
4646
strategy:
4747
fail-fast: false

0 commit comments

Comments
 (0)