Files
shop-client/.woodpecker.yml
T
@kirill.komarov 7718f026e5
Deploy / deploy (push) Successful in 1s
add woodpeecker
2026-06-16 20:04:16 +05:00

24 lines
447 B
YAML

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.88:/var/www/
secrets: [deploy_key]
depends_on: [build]