Absolute path for dist volume
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
562b9cd503
commit
a2e3a5d544
|
@ -8,12 +8,13 @@ steps:
|
||||||
image: node:16.13-slim
|
image: node:16.13-slim
|
||||||
volumes:
|
volumes:
|
||||||
- name: dist
|
- name: dist
|
||||||
path: ./dist
|
path: /dist
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -y install libssl-dev
|
- apt-get -y install libssl-dev
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
- cp -R ./dist/* /dist
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: rust
|
image: rust
|
||||||
|
@ -25,8 +26,9 @@ steps:
|
||||||
- name: temp
|
- name: temp
|
||||||
path: /app
|
path: /app
|
||||||
- name: dist
|
- name: dist
|
||||||
path: ./dist/
|
path: /dist
|
||||||
commands:
|
commands:
|
||||||
|
- cp -R /dist ./dist
|
||||||
- cargo build --release
|
- cargo build --release
|
||||||
- cp target/release/vade /app/vade
|
- cp target/release/vade /app/vade
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue