This commit is contained in:
parent
dcb3ada610
commit
da3a3a989c
10
.drone.yml
10
.drone.yml
@ -11,8 +11,9 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker build --no-cache -t autonomic/autonomic.zone:drone .
|
- docker build --no-cache -t autonomic/autonomic.zone:drone .
|
||||||
when:
|
trigger:
|
||||||
branch: master
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
- name: Deploy Autonomic.zone with Dokku
|
- name: Deploy Autonomic.zone with Dokku
|
||||||
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
||||||
@ -20,5 +21,6 @@ steps:
|
|||||||
remote: ssh://dokku@dokku.autonomic.zone:222/autonomic.zone
|
remote: ssh://dokku@dokku.autonomic.zone:222/autonomic.zone
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: drone_deploy_key
|
from_secret: drone_deploy_key
|
||||||
when:
|
trigger:
|
||||||
branch: master
|
branch:
|
||||||
|
- master
|
||||||
|
Reference in New Issue
Block a user