From 7c01bf67a9b374282c7bf1d411f4cdce563e8b54 Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Mon, 31 May 2021 04:38:01 +0200 Subject: [PATCH] squish --- .drone.yml | 30 ++++++++++++++++++++++++++++++ .gitmodules | 0 README.md | 2 -- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .drone.yml create mode 100644 .gitmodules delete mode 100644 README.md diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0c846b4 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +type: kubernetes +name: hugoweb + +steps: + - name: submodules + image: alpine/git + commands: + - git submodule update --init --recursive + + - name: hugo + image: plugins/hugo + settings: + validate: true + # hugo_version: 0.83.1 + + - name: deploy + image: drillster/drone-rsync + settings: + hosts: + - "10.0.100.5" + target: /volume + source: public/* + user: snowball77 + recursive: true + port: "22" + args: "-v" + secrets: [rsync_key] + key: + from_secret: rsync_key diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md deleted file mode 100644 index ab4daf8..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# hugo-test -