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-official --minify --gc --cleanDestinationDir
|
||||
deploy:
|
||||
image: appleboy/drone-scp
|
||||
secrets: [SSH_USERNAME, SSH_PASSWORD]
|
||||
host: jcktrue.dk
|
||||
target: /home/jct/apps/http/jcktrue.dk/
|
||||
source: public/*
|
||||
strip_components: 1
|
||||
username: $SSH_USERNAME
|
||||
password: $SSH_PASSWORD
|
||||
image: eeacms/rsync
|
||||
commands:
|
||||
- rsync -r --delete public/ /mnt/jcktrue.dk
|
||||
volumes:
|
||||
- /home/jct/apps/httpd/jcktrue.dk/:/mnt/jcktrue.dk/
|
Reference in New Issue
Block a user