Absolute path for dist volume
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Joe Bellus 2022-07-28 19:26:31 -04:00
parent 562b9cd503
commit a2e3a5d544
1 changed files with 4 additions and 2 deletions

View File

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