This commit is contained in:
parent
941d5d2da5
commit
73d103f562
1 changed files with 13 additions and 0 deletions
13
.drone.yml
13
.drone.yml
|
@ -65,6 +65,19 @@ steps:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
- name: deploy:dokku
|
||||||
|
image: alpine
|
||||||
|
environment:
|
||||||
|
SSH_USER:
|
||||||
|
from_secret: SSH_USER
|
||||||
|
SSH_HOST:
|
||||||
|
from_secret: SSH_HOST
|
||||||
|
SSH_PRIVATE_KEY:
|
||||||
|
from_secret: SSH_PRIVATE_KEY
|
||||||
|
commands:
|
||||||
|
- 'echo "${SSH_PRIVATE_KEY}" > ~/.ssh/deploy_key'
|
||||||
|
- 'ssh -i ~/.ssh/deploy_key ${SSH_USER}@${SSH_HOST} ls -l /'
|
||||||
|
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: cache
|
# - name: cache
|
||||||
# temp: {}
|
# temp: {}
|
||||||
|
|
Loading…
Reference in a new issue