diff --git a/.woodpecker.yml b/.woodpecker.yml index e04ce4d..886fc9f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,12 +6,10 @@ pipeline: - hugo-official --minify --gc --cleanDestinationDir deploy: image: appleboy/drone-scp - settings: - host: jcktrue.dk - target: /home/jct/apps/http/jcktrue.dk/ - source: public/* - strip_components: 1 - username: - from_secret: SSH_USERNAME - password: - from_secret: SSH_PASSWORD \ No newline at end of file + 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 \ No newline at end of file