Browse Source

fix: exit script if something failed in CD

pull/2/head
Rohan Verma 6 years ago
parent
commit
03cd684059
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      .drone.yml

+ 4
- 1
.drone.yml View File

@@ -14,8 +14,11 @@ steps:
port: 22
key:
from_secret: ssh_key
script_stop: true
script:
- cd /home/rhnvrm/apps/rohanverma.net && git fetch origin && git checkout $DRONE_COMMIT
- cd /home/rhnvrm/apps/rohanverma.net
- git fetch origin
- git checkout $DRONE_COMMIT
- cd /home/rhnvrm/proxy
- docker-compose build rohanvermanet
- docker-compose up -d rohanvermanet

Loading…
Cancel
Save