Skip to content

Commit 0b5bc06

Browse files
committed
deploy docker only on success
1 parent 336c8e2 commit 0b5bc06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/bash__deploy-docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
deploy:
1818
name: Deploy image from Dockerhub to remote host with ssh
1919
runs-on: ubuntu-latest
20+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2021

2122
steps:
2223
- name: Checkout code

0 commit comments

Comments
 (0)