Files
tgCrewAdmin/.drone.yml
CCTVcalc ab94ad69a5
All checks were successful
continuous-integration/drone/push Build is passing
test2
2025-08-02 21:49:24 +03:00

25 lines
475 B
YAML

kind: pipeline
type: docker
name: deploy
steps:
- name: build
image: node:22
commands:
- npm install -g @quasar/cli
- npm install
- quasar build -m spa
- name: deploy
image: appleboy/drone-scp
settings:
host: 10.10.10.10
username: root
key:
from_secret: SSH-nginx-key
source: ./dist/spa/*
strip_components: 2
target: /usr/share/nginx/tgcrew/admin
rm: true
when:
branch: main