Compare commits

..

2 Commits

Author SHA1 Message Date
Florian Sorg dbabff53f4 implement rC3 NOWHERE theme
continuous-integration/drone/push Build is passing Details
2021-12-21 01:17:29 +01:00
Luca f9d379e830 Add pipeline step 'deploy-staging'
continuous-integration/drone/push Build is passing Details
2021-12-21 01:13:31 +01:00
1 changed files with 14 additions and 3 deletions

View File

@ -11,19 +11,30 @@ steps:
extended: yes
validate: yes
- name: deploy
- name: deploy-staging
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/www.franconian.net/
target: /srv/www/sites/staging.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