Update .drone.yml
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c86d4fd3bb
commit
770b8e0727
13
.drone.yml
13
.drone.yml
|
|
@ -26,22 +26,25 @@ steps:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
|
||||||
- name: Deploy image
|
- name: Deploy image
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: server1.midastix.com
|
host: server1.midastix.com
|
||||||
username: root
|
username: mihir
|
||||||
key:
|
key:
|
||||||
from_secret: server_ssh_pkey
|
from_secret: manicandles_deploy_key
|
||||||
port: 22
|
port: 22
|
||||||
command_timeout: 5m
|
command_timeout: 5m
|
||||||
|
script_stop: true
|
||||||
script:
|
script:
|
||||||
- echo "Deploying ManiCandles"
|
- whoami
|
||||||
- sudo /opt/deployable/manicandles/docker/deploy.sh
|
- hostname
|
||||||
- echo "Completed Deployment"
|
- echo "ManiCandles SSH authentication successful"
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue