2020-12-20 20:13:08 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: deploy
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
2023-03-14 20:20:42 +01:00
|
|
|
host: pink.hackerspace-bamberg.de
|
2022-11-05 20:12:33 +01:00
|
|
|
port: 4222
|
|
|
|
username: www-data
|
2020-12-20 20:13:08 +01:00
|
|
|
key:
|
|
|
|
from_secret: ssh_key
|
|
|
|
passphrase:
|
|
|
|
from_secret: ssh_passphrase
|
2022-11-05 20:31:46 +01:00
|
|
|
target: /var/www/maps.franconian.net/
|
2020-12-20 20:13:08 +01:00
|
|
|
source:
|
|
|
|
- '!.*'
|
|
|
|
- '*'
|
|
|
|
rm: yes
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
branch:
|
2021-12-26 20:56:17 +01:00
|
|
|
- staging
|