--- kind: pipeline type: docker name: deploy steps: - name: build-site image: node:latest commands: - npm install - npm run build - name: deploy image: cschlosser/drone-ftps environment: FTP_USERNAME: from_secret: username FTP_PASSWORD: from_secret: password PLUGIN_HOSTNAME: from_secret: host PLUGIN_DEST_DIR: /www PLUGIN_SRC_DIR: /build PLUGIN_EXCLUDE: (.htaccess)|(.git) trigger: branch: - master