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:
36
.drone.yml
36
.drone.yml
@ -21,3 +21,39 @@ steps:
|
||||
from_secret: SSH_USERNAME
|
||||
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