From 8b307039422cc1b4c1b5152c0aaad234067cfd24 Mon Sep 17 00:00:00 2001 From: Daniel Spittank Date: Fri, 15 Sep 2023 22:29:11 +0200 Subject: [PATCH] Woodpecker CI workflow added --- .woodpecker/default.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .woodpecker/default.yml diff --git a/.woodpecker/default.yml b/.woodpecker/default.yml new file mode 100644 index 0000000..4244f1b --- /dev/null +++ b/.woodpecker/default.yml @@ -0,0 +1,21 @@ +steps: + + build: + image: node:current-alpine + commands: + - npm install + - npm run build + + deploy: + image: drillster/drone-rsync + settings: + hosts: [ "goldrausch.spittank.eu" ] + port: 6666 + delete: true + recursive: true + user: + from_secret: deploy_ssh_user + key: + from_secret: deploy_ssh_key + source: dist/ + target: htdocs