Compare commits
2 commits
1c3ba40b56
...
b64ddacb41
Author | SHA1 | Date | |
---|---|---|---|
b64ddacb41 | |||
f5f87a52dc |
1 changed files with 12 additions and 18 deletions
26
.drone.yml
26
.drone.yml
|
@ -1,18 +1,16 @@
|
|||
---
|
||||
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: deployment
|
||||
|
||||
server:
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 192.168.68.121
|
||||
user: vylpes
|
||||
username: vylpes
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
commands:
|
||||
port: 22
|
||||
script:
|
||||
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
||||
|
||||
trigger:
|
||||
|
@ -20,24 +18,20 @@ trigger:
|
|||
- main
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: staging
|
||||
|
||||
server:
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 192.168.68.121
|
||||
user: vylpes
|
||||
username: vylpes
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
commands:
|
||||
port: 22
|
||||
script:
|
||||
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
||||
|
||||
trigger:
|
||||
|
|
Loading…
Reference in a new issue