add npm install
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5a71416bff
commit
d930de2081
|
@ -9,13 +9,14 @@ steps:
|
||||||
# - npm run build
|
# - npm run build
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: alpine
|
image: node
|
||||||
volumes:
|
volumes:
|
||||||
- name: www-next
|
- name: www-next
|
||||||
path: /www-next
|
path: /www-next
|
||||||
commands:
|
commands:
|
||||||
- rm -rf /www-next/* /www-next/.[!.]*
|
- rm -rf /www-next/* /www-next/.[!.]*
|
||||||
- cp -r ./ /www-next/
|
- cp -r ./ /www-next/
|
||||||
|
- npm install --prefix /www-next
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: www-next
|
- name: www-next
|
||||||
|
|
Loading…
Reference in New Issue