Init Drone CI, upload files to server

This commit is contained in:
teutat3s 2021-06-06 16:18:43 +02:00
parent 31a8747b7e
commit b67f580605
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

20
.drone.yml Normal file
View file

@ -0,0 +1,20 @@
kind: pipeline
type: docker
name: default
steps:
- name: publish
when:
branch:
- main
image: appleboy/drone-scp
repo: pub-solar/pub.solar
settings:
host: pub.solar
port: 2020
username:
from_secret: ps_ssh_user
key:
from_secret: ps_ssh_key
source: ./*
target: /data/www/pub.solar/
rm: true