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