3
0
Fork 0

Add SSH test
continuous-integration/drone/push Build is passing Details

master
Ambrose Chua 2019-03-24 23:24:21 +08:00
parent f7561f04c1
commit 44d8ae4979
1 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,19 @@
kind: pipeline
name: ssh-test
clone:
depth: 1
steps:
- name: ssh
image: appleboy/drone-ssh
settings:
host: staging.beepvoice.app
username: core
key:
from_secret: ssh_key
script:
- cd /home/core/website && ls
---
kind: pipeline
name: website
clone:
depth: 1
@ -24,7 +39,7 @@ steps:
settings:
host: staging.beepvoice.app
username: core
ssh_key:
key:
from_secret: ssh_key
source:
- docker-compose.yml
@ -34,7 +49,7 @@ steps:
settings:
host: staging.beepvoice.app
username: core
ssh_key:
key:
from_secret: ssh_key
script:
- >-