Mount the destination dir
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@ -5,11 +5,8 @@ pipeline:
|
|||||||
- hugo mod get -u
|
- hugo mod get -u
|
||||||
- hugo-official --minify --gc --cleanDestinationDir
|
- hugo-official --minify --gc --cleanDestinationDir
|
||||||
deploy:
|
deploy:
|
||||||
image: appleboy/drone-scp
|
image: eeacms/rsync
|
||||||
secrets: [SSH_USERNAME, SSH_PASSWORD]
|
commands:
|
||||||
host: jcktrue.dk
|
- rsync -r --delete public/ /mnt/jcktrue.dk
|
||||||
target: /home/jct/apps/http/jcktrue.dk/
|
volumes:
|
||||||
source: public/*
|
- /home/jct/apps/httpd/jcktrue.dk/:/mnt/jcktrue.dk/
|
||||||
strip_components: 1
|
|
||||||
username: $SSH_USERNAME
|
|
||||||
password: $SSH_PASSWORD
|
|
Reference in New Issue
Block a user