v3.1.0 #317
1 changed files with 20 additions and 18 deletions
38
.drone.yml
38
.drone.yml
|
@ -3,15 +3,16 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deployment
|
name: deployment
|
||||||
|
|
||||||
image: appleboy/drone-ssh
|
steps:
|
||||||
settings:
|
image: appleboy/drone-ssh
|
||||||
host: 192.168.68.121
|
settings:
|
||||||
username: vylpes
|
host: 192.168.68.121
|
||||||
password:
|
username: vylpes
|
||||||
from_secret: ssh_password
|
password:
|
||||||
port: 22
|
from_secret: ssh_password
|
||||||
script:
|
port: 22
|
||||||
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
script:
|
||||||
|
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
@ -24,15 +25,16 @@ trigger:
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: staging
|
name: staging
|
||||||
|
|
||||||
image: appleboy/drone-ssh
|
steps:
|
||||||
settings:
|
image: appleboy/drone-ssh
|
||||||
host: 192.168.68.121
|
settings:
|
||||||
username: vylpes
|
host: 192.168.68.121
|
||||||
password:
|
username: vylpes
|
||||||
from_secret: ssh_password
|
password:
|
||||||
port: 22
|
from_secret: ssh_password
|
||||||
script:
|
port: 22
|
||||||
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
script:
|
||||||
|
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue