Update drone config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2022-11-05 20:08:01 +01:00
parent e8e422b2d6
commit a11ca73d1a
1 changed files with 4 additions and 3 deletions

View File

@ -28,12 +28,13 @@ steps:
image: appleboy/drone-scp image: appleboy/drone-scp
settings: &deploy-settings settings: &deploy-settings
host: dragon.luj0ga.de host: dragon.luj0ga.de
username: www port: 4222
username: www-data
key: key:
from_secret: ssh_key from_secret: ssh_key
passphrase: passphrase:
from_secret: ssh_passphrase from_secret: ssh_passphrase
target: /srv/www/sites/staging.www.franconian.net/ target: /var/www/staging.www.franconian.net/
source: public/* source: public/*
strip_components: 1 strip_components: 1
rm: yes rm: yes
@ -47,7 +48,7 @@ steps:
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
<<: *deploy-settings <<: *deploy-settings
target: /srv/www/sites/www.franconian.net/ target: /var/www/www.franconian.net/
when: when:
event: event:
- push - push