This commit is contained in:
@@ -16,8 +16,6 @@ steps:
|
|||||||
- npm install -g @quasar/cli
|
- npm install -g @quasar/cli
|
||||||
- npm install
|
- npm install
|
||||||
- quasar build -m spa
|
- quasar build -m spa
|
||||||
- mv dist/spa/* dist/
|
|
||||||
- rm -rf dist/spa
|
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
@@ -26,7 +24,7 @@ steps:
|
|||||||
username: root
|
username: root
|
||||||
key:
|
key:
|
||||||
from_secret: SSH-nginx-key
|
from_secret: SSH-nginx-key
|
||||||
source: /dist
|
source: /dist/spa
|
||||||
target: /usr/share/nginx/tgCrewLanding
|
target: /usr/share/nginx/tgCrewLanding
|
||||||
rm: true
|
rm: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user