This commit is contained in:
@@ -19,7 +19,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: appleboy/drone-scp
|
image: daniel0ting/drone-scp
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: ssh_username
|
from_secret: ssh_username
|
||||||
@@ -27,9 +27,10 @@ steps:
|
|||||||
from_secret: ssh_password
|
from_secret: ssh_password
|
||||||
host: open.us.org
|
host: open.us.org
|
||||||
port: 22
|
port: 22
|
||||||
rm: true
|
source: .output/public
|
||||||
source: ./.output/public/*
|
|
||||||
target: /dav/www/
|
target: /dav/www/
|
||||||
|
strip.components: 2
|
||||||
|
debug: true
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|||||||
Reference in New Issue
Block a user