This commit is contained in:
2025-08-02 11:20:01 +03:00
parent feb351424e
commit 09feab1c42
18 changed files with 95 additions and 85 deletions

25
.drone.yml Normal file
View File

@@ -0,0 +1,25 @@
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.8
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