2021-06-06 14:18:43 +00:00
|
|
|
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
|
2022-02-24 20:40:28 +00:00
|
|
|
source:
|
2022-02-24 20:55:25 +00:00
|
|
|
- "!.envrc"
|
|
|
|
- "!.git"
|
|
|
|
- "!.gitignore"
|
|
|
|
- "!.drone.yml"
|
|
|
|
- "!LICENSE.md"
|
|
|
|
- "!shell.nix"
|
2022-02-24 20:40:28 +00:00
|
|
|
- ./*
|
2021-06-06 14:51:18 +00:00
|
|
|
target: /data/www/pub.solar/matrix-domain/
|
2022-02-24 21:01:08 +00:00
|
|
|
rm: true
|