fix drone yaml
continuous-integration/drone/push Build is failing Details

This commit is contained in:
James Ravenscroft 2020-12-28 12:13:42 +00:00
parent 9b4056c156
commit 00ee1a4cc7
1 changed files with 7 additions and 1 deletions

View File

@ -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
- lftp -e "mirror -R ./public /" -u ${FTP_USERNAME},${FTP_PASSWORD} ${FTP_HOSTNAME}