Build beta and master
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
38
.drone.yml
38
.drone.yml
@ -20,4 +20,40 @@ steps:
|
|||||||
username:
|
username:
|
||||||
from_secret: SSH_USERNAME
|
from_secret: SSH_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: SSH_PASSWORD
|
from_secret: SSH_PASSWORD
|
||||||
|
trigger:
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- name: deploy
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
host: jcktrue.dk
|
||||||
|
target: /srv/raid/apps/http/jcktrue.dk/
|
||||||
|
source: public/*
|
||||||
|
strip_components: 1
|
||||||
|
username:
|
||||||
|
from_secret: SSH_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: SSH_PASSWORD
|
||||||
|
trigger:
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
include:
|
||||||
|
- master
|
||||||
|
- name: deploy_beta
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
host: jcktrue.dk
|
||||||
|
target: /srv/raid/apps/http/beta.jcktrue.dk/
|
||||||
|
source: public/*
|
||||||
|
strip_components: 1
|
||||||
|
username:
|
||||||
|
from_secret: SSH_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: SSH_PASSWORD
|
||||||
|
trigger:
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
exclude:
|
||||||
|
- master
|
Reference in New Issue
Block a user