drone CI/CD deployment
This commit is contained in:
parent
d403ac6716
commit
7e16366669
1 changed files with 14 additions and 0 deletions
14
.drone.yml
14
.drone.yml
|
@ -19,3 +19,17 @@ steps:
|
|||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: r.regnault.dev/obsessed-yanqing
|
||||
force_tag: true
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
- 10.1.2.4
|
||||
username: stack-deployer
|
||||
password:
|
||||
from_secret: SSH_PASSWORD
|
||||
port: 22
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- ./deploy.sh obsessed-yanqing
|
||||
|
|
Loading…
Reference in a new issue