This commit is contained in:
parent
8d99dba44e
commit
c53d11cf99
12
.drone.yml
12
.drone.yml
@ -5,9 +5,6 @@ name: makeit-scan
|
|||||||
steps:
|
steps:
|
||||||
- name: 'build'
|
- name: 'build'
|
||||||
image: node
|
image: node
|
||||||
volumes:
|
|
||||||
- name: node_modules_cache
|
|
||||||
path: /drone/src/node_modules
|
|
||||||
commands:
|
commands:
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
@ -43,12 +40,7 @@ steps:
|
|||||||
script:
|
script:
|
||||||
- echo '====== deploy start ======'
|
- echo '====== deploy start ======'
|
||||||
- cd /makeit/web/scan
|
- cd /makeit/web/scan
|
||||||
- rm -rf index.html favicon.ico _assets ads.txt
|
- rm -rf !\(dist*\)
|
||||||
- mv ./dist/* ./
|
- mv ./dist/* ./
|
||||||
- rm -rf dist
|
- rm -rf dist
|
||||||
- echo '====== deploy success ======'
|
- echo '====== deploy success ======'
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: node_modules_cache
|
|
||||||
host:
|
|
||||||
path: /makeit/web/drone/node_modules
|
|
Loading…
Reference in New Issue
Block a user