kind: pipeline name: update_website steps: - name: hugo_build image: alombarte/hugo commands: - git submodule init - git submodule update - cd brainsteam - hugo - name: hugo_publish image: alpine:3.12.3 commands: - apk add lftp - cd brainsteam - lftp -e "mirror -R ./public /" -u ${FTP_USERNAME},${FTP_PASSWORD} $FTP_HOSTNAME