From c50b3c94d729d747b0d6ba07babdfca629973d49 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Wed, 3 Aug 2022 08:33:05 -0500 Subject: [PATCH] Create .drone.yml --- .drone.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..113208c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +kind: pipeline +name: default +steps: +- name: build + image: node:12.22.12-buster-slim + commands: + - npm install + - npm run build + +- name: deploy + image: cschlosser/drone-ftps + environment: + FTP_USERNAME: + from_secret: ftp_username + FTP_PASSWORD: + from_secret: ftp_password + PLUGIN_HOSTNAME: ftp.itsfiveoclockwhere.com:21 + PLUGIN_SRC_DIR: /dist/itsfiveoclockwhere + PLUGIN_SECURE: true + PLUGIN_VERIFY: false + PLUGIN_CLEAN_DIR: true + when: + branch: + - master