del gitea

This commit is contained in:
@kirill.komarov
2026-06-16 22:06:45 +05:00
parent 4bf6672c50
commit 3a1b67bc86
+21 -3
View File
@@ -1,5 +1,23 @@
when:
branch: main
event: push
steps: steps:
test: install:
image: alpine image: node:20
commands: commands:
- echo "Hello" - 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]