From 73322831e4415a6c890fba0c57a28fbfda23ae0c Mon Sep 17 00:00:00 2001 From: "@kirill.komarov" Date: Tue, 16 Jun 2026 20:24:11 +0500 Subject: [PATCH] test --- .woodpecker.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..b0caef5 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,23 @@ +when: + branch: main + event: push + +steps: + install: + image: node:20 + commands: + - npm ci + + build: + image: node:20 + commands: + - npm run build + depends_on: [install] + + deploy: + image: alpine:latest + commands: + - apk add --no-cache openssh rsync + - rsync -e "ssh -i /ssh/deploy_key" -avz --delete dist/ root@192.168.1.18:/var/www/ + secrets: [deploy_key] + depends_on: [build]