From d4fb3e23f4b168f3740566b561a8b9a26f6b5725 Mon Sep 17 00:00:00 2001 From: Nicolas Trimborn Date: Wed, 1 Mar 2023 14:30:36 +0100 Subject: [PATCH] added drone config --- drone.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 drone.yml diff --git a/drone.yml b/drone.yml new file mode 100644 index 0000000..825ce83 --- /dev/null +++ b/drone.yml @@ -0,0 +1,33 @@ +kind: pipeline +type: docker +name: default + +steps: + + - name: submodules + image: alpine/git + commands: + - git submodule update --init --recursive + + - name: build + image: klakegg/hugo:ext-ci + commands: + - cd themes/ananke # && npm i && cd - + - hugo --gc --minify --environment production + + - name: deploy + image: appleboy/drone-scp + settings: + host: "217.160.46.175" + target: + - /var/www/html/nicktrimborn.de/public_html/ + source: + - public/* + username: "root" + password: "R*Hc96Wb@v" + +trigger: + event: + include: + - push + - pull_request