Skip to content

Commit 3cf2b9e

Browse files
committed
fixed prod check
1 parent 3191a93 commit 3cf2b9e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,10 @@ jobs:
8585
retention-days: 30
8686

8787
deploy:
88-
if: env.DEPLOY_PROD == 'true'
8988
name: Deploy to Production
9089
runs-on: ubuntu-latest
9190
needs: [lint-and-build, test]
92-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
91+
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && env.DEPLOY_PROD == 'true'
9392

9493
steps:
9594
- name: Checkout code

0 commit comments

Comments
 (0)