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