Files
shop-client/.woodpecker.yml
T
@kirill.komarov 1d0bf86fee
ci/woodpecker/manual/woodpecker Pipeline failed
del gitea
2026-06-16 22:41:05 +05:00

30 lines
575 B
YAML

when:
branch: main
event: [push, manual]
steps:
install:
image: node:20
commands:
- cd client && npm ci
lint:
image: node:20
commands:
- cd client && npm run lint
depends_on: [install]
build:
image: node:20
commands:
- cd client && 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 client/dist/ root@192.168.1.88:/var/www/
secrets: [deploy_key]
depends_on: [lint, build]