From d4824b191bdd692297034e6aed7148464fb31e92 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Tue, 2 Aug 2022 16:16:47 -0500 Subject: [PATCH] Create .drone.yml --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5c817bf --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +name: default + +steps: +- name: submodules + image: alpine/git + commands: + - git config --global --add safe.directory '*' + - git submodule update --init --recursive + +- name: build + image: xdevbase/hugo-builder:0.101 + commands: + - echo "Checking Hugo version." + - hugo version + - hugo --destination /drone/src/build + - minify -r -o /drone/src/build /drone/src/build + +- name: deploy + image: cschlosser/drone-ftps + environment: + FTP_USERNAME: + from_secret: ftp_username + FTP_PASSWORD: + from_secret: ftp_password + PLUGIN_HOSTNAME: ftp.jwetzell.com:21 + PLUGIN_SRC_DIR: /build + PLUGIN_SECURE: true + PLUGIN_VERIFY: false + PLUGIN_CLEAN_DIR: true