update workflow
This commit is contained in:
parent
b3debfdf74
commit
9b2ceb5c52
1 changed files with 17 additions and 1 deletions
|
|
@ -34,4 +34,20 @@ steps:
|
||||||
when:
|
when:
|
||||||
event: [pull_request, push]
|
event: [pull_request, push]
|
||||||
|
|
||||||
|
deploy-via-scp:
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
host: h51.hostsharing.net
|
||||||
|
username: hsh08-ci.tmp
|
||||||
|
key:
|
||||||
|
from_secret: SSH_DEPLOY_KEY # private key (single-purpose)
|
||||||
|
#fingerprint:
|
||||||
|
# from_secret: SSH_HOST_FINGERPRINT # e.g. "SHA256:AbC...xyz"
|
||||||
|
port: 22
|
||||||
|
target: /home/pacs/hsh08/users/ci.tmp/doms/ci.tmp.app.hs.coop/htdocs-ssl/ # write-only dir
|
||||||
|
source:
|
||||||
|
- public/*
|
||||||
|
rm: true # clean target before copy
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: main
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue