Compare commits
2 Commits
2a2534cfa8
...
dbabff53f4
Author | SHA1 | Date |
---|---|---|
Florian Sorg | dbabff53f4 | |
Luca | f9d379e830 |
17
.drone.yml
17
.drone.yml
|
@ -11,19 +11,30 @@ steps:
|
||||||
extended: yes
|
extended: yes
|
||||||
validate: yes
|
validate: yes
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy-staging
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings: &settings
|
||||||
host: dragon.luj0ga.de
|
host: dragon.luj0ga.de
|
||||||
username: www
|
username: www
|
||||||
key:
|
key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
passphrase:
|
passphrase:
|
||||||
from_secret: ssh_passphrase
|
from_secret: ssh_passphrase
|
||||||
target: /srv/www/sites/www.franconian.net/
|
target: /srv/www/sites/staging.www.franconian.net/
|
||||||
source: public/*
|
source: public/*
|
||||||
strip_components: 1
|
strip_components: 1
|
||||||
rm: yes
|
rm: yes
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
branch:
|
||||||
|
- staging
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
<<: *settings
|
||||||
|
target: /srv/www/sites/www.franconian.net/
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
Loading…
Reference in New Issue