using temp volume for ui artifacts
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
eca0823601
commit
7875f7490a
12
drone.yml
12
drone.yml
|
@ -7,14 +7,14 @@ steps:
|
|||
- name: build-ui
|
||||
image: node:16.13-slim
|
||||
volumes:
|
||||
- name: dist
|
||||
path: /dist
|
||||
- name: temp
|
||||
path: /app
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get -y install libssl-dev
|
||||
- npm install
|
||||
- npm run build
|
||||
- cp -R ./dist/* /dist
|
||||
- cp -R ./dist /app/dist
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
|
@ -28,10 +28,8 @@ steps:
|
|||
volumes:
|
||||
- name: temp
|
||||
path: /app
|
||||
- name: dist
|
||||
path: /dist
|
||||
commands:
|
||||
- cp -R /dist ./dist
|
||||
- cp -R /app/dist ./dist
|
||||
- cargo build --release
|
||||
- cp target/release/vade /app/vade
|
||||
when:
|
||||
|
@ -64,5 +62,3 @@ steps:
|
|||
volumes:
|
||||
- name: temp
|
||||
temp: {}
|
||||
- name: dist
|
||||
dist: {}
|
||||
|
|
Loading…
Reference in New Issue