Pārlūkot izejas kodu

fix: exit script if something failed in CD

pull/2/head
Rohan Verma pirms 6 gadiem
vecāks
revīzija
03cd684059
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      .drone.yml

+ 4
- 1
.drone.yml Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt