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