Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -16,6 +16,8 @@ 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/* /
|
||||||
|
- rm -rf dist/spa
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
@@ -24,7 +26,7 @@ steps:
|
|||||||
username: root
|
username: root
|
||||||
key:
|
key:
|
||||||
from_secret: SSH-nginx-key
|
from_secret: SSH-nginx-key
|
||||||
source: dist/spa/*
|
source: *
|
||||||
target: /usr/share/nginx/tgCrewLanding
|
target: /usr/share/nginx/tgCrewLanding
|
||||||
rm: true
|
rm: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user