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:
33
.drone.yml
33
.drone.yml
@ -25,22 +25,6 @@ steps:
|
||||
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:
|
||||
@ -52,8 +36,19 @@ steps:
|
||||
from_secret: SSH_USERNAME
|
||||
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:
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
include:
|
||||
- master
|
||||
|
||||
|
Reference in New Issue
Block a user