Always push to beta.jcktrue.dk only stable to main
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:
31
.drone.yml
31
.drone.yml
@ -25,22 +25,6 @@ steps:
|
|||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- 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
|
- name: deploy_beta
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
@ -52,8 +36,19 @@ steps:
|
|||||||
from_secret: SSH_USERNAME
|
from_secret: SSH_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: SSH_PASSWORD
|
from_secret: SSH_PASSWORD
|
||||||
trigger:
|
- 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
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
include:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user