From 00ee1a4cc7805a4c7cea7a716efe6454a340aa03 Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Mon, 28 Dec 2020 12:13:42 +0000 Subject: [PATCH] fix drone yaml --- .drone.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8c4bf41..65f80b4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,13 @@ steps: - hugo - name: hugo_publish image: alpine:3.12.3 + environment: + FTP_USERNAME: + from_secret: FTP_USERNAME + FTP_PASSWORD: + from_secret: FTP_PASSWORD + FTP_HOSTNAME: sv7.byethost7.org commands: - apk add lftp - cd brainsteam - - lftp -e "mirror -R ./public /" -u ${FTP_USERNAME},${FTP_PASSWORD} $FTP_HOSTNAME \ No newline at end of file + - lftp -e "mirror -R ./public /" -u ${FTP_USERNAME},${FTP_PASSWORD} ${FTP_HOSTNAME} \ No newline at end of file