Compare commits
3 commits
b64ddacb41
...
fc7c9ef02c
Author | SHA1 | Date | |
---|---|---|---|
fc7c9ef02c | |||
b9fdd51897 | |||
1908f7505c |
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