Skip to content

Commit 7ac4936

Browse files
committed
⬆️ Update CI-CD workflow to deploy only on push to dev branch
1 parent c00b857 commit 7ac4936

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: ./.github/workflows/docker.yaml
2727

2828
deploy:
29+
if: github.event_name == 'push' && github.ref == 'refs/heads/dev'
2930
needs: docker
3031
uses: ./.github/workflows/deploy.yaml
3132
secrets: inherit

0 commit comments

Comments
 (0)