pub.solar/.drone.yml

21 lines
380 B
YAML

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