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
|
||||
volumes:
|
||||
- name: dist
|
||||
path: ./dist
|
||||
path: /dist
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get -y install libssl-dev
|
||||
- npm install
|
||||
- npm run build
|
||||
- cp -R ./dist/* /dist
|
||||
|
||||
- name: test
|
||||
image: rust
|
||||
|
@ -25,8 +26,9 @@ steps:
|
|||
- name: temp
|
||||
path: /app
|
||||
- name: dist
|
||||
path: ./dist/
|
||||
path: /dist
|
||||
commands:
|
||||
- cp -R /dist ./dist
|
||||
- cargo build --release
|
||||
- cp target/release/vade /app/vade
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue