drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
makeit 2024-08-07 16:58:12 +08:00
parent 8d99dba44e
commit c53d11cf99

View File

@ -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