Files
tgCrewLanding/.drone.yml
CCTVcalc 5d5819a732
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update .drone.yml
2025-07-23 22:21:59 +03:00

33 lines
621 B
YAML

kind: pipeline
type: docker
name: deploy
clone:
disable: false
git:
image: plugins/git
settings:
clone_url: http://10.10.10.2:3000/admin/tgCrewLanding.git
steps:
- name: build
image: node:22
commands:
- npm install -g @quasar/cli
- npm install
- quasar build -m spa
- mv dist/spa/* /
- rm -rf dist/spa
- name: deploy
image: appleboy/drone-scp
settings:
host: 10.10.10.10
username: root
key:
from_secret: SSH-nginx-key
source: *
target: /usr/share/nginx/tgCrewLanding
rm: true
when:
branch: main