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