From 5c3c1fec11bf9146785f6e7587938f9560677db1 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sun, 12 Jul 2020 00:58:38 -0700 Subject: [PATCH] initial drone config --- .drone.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..2f273c7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,23 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: hugo + image: cbrgm/drone-hugo:latest + settings: + validate: true + output: public + url: %HUGO_INSTANCE_URL% + +- name: deploy + image: appleboy/drone-scp + settings: + host: + - %SCP_HOSTNAME% + port: %SCP_PORT% + username: %SCP_USERNAME% + target: %SCP_TARGET_DIRECTORY% + source: public/ + key: + from_secret: ssh_key