fix drone
continuous-integration/drone Build is failing
Details
continuous-integration/drone Build is failing
Details
This commit is contained in:
parent
acca584f0d
commit
ede4237281
|
|
@ -1,4 +1,5 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
name: Build Image
|
name: Build Image
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -18,9 +19,8 @@ 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: root
|
||||||
|
|
@ -28,11 +28,10 @@ steps:
|
||||||
from_secret: server_ssh_pkey
|
from_secret: server_ssh_pkey
|
||||||
port: 22
|
port: 22
|
||||||
command_timeout: 5m
|
command_timeout: 5m
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- echo "Deploying ManiCandles"
|
- echo "Deploying ManiCandles"
|
||||||
- sudo /opt/deployable/manicandles/docker/deploy.sh
|
- sudo /opt/deployable/manicandles/docker/deploy.sh
|
||||||
- echo "Deployment Completed"
|
- echo "Completed Deployment"
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue