del gitea

This commit is contained in:
@kirill.komarov
2026-06-16 22:39:00 +05:00
parent 19fdd24b8e
commit a56e1226ba
+4 -5
View File
@@ -6,25 +6,24 @@ steps:
install:
image: node:20
commands:
- npm ci
- cd client && npm ci
lint:
image: node:20
commands:
- npm run lint
- cd client && npm run lint
depends_on: [install]
build:
image: node:20
commands:
- npm run build
- 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 dist/ root@192.168.1.88:/srv/shop/
- ssh -i /ssh/deploy_key root@192.168.1.88 'systemctl restart shop-server'
- 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]