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