Fixed JS artifact path

This commit is contained in:
Joel Collins 2020-11-23 10:54:38 +00:00
parent 3814e7d1a5
commit 3a90a4217a

View file

@ -91,7 +91,7 @@ build:
name: "dist" name: "dist"
expire_in: 1 week expire_in: 1 week
paths: paths:
- "./dist/*" - "./openflexure_microscope/api/static/dist/"
only: only:
- merge_requests - merge_requests
@ -101,10 +101,11 @@ build:
# Package # Package
package: package:
stage: package stage: package
dependencies: dependencies:
- build - build
image: ubuntu:latest
script: script:
# Build distribution archive # Build distribution archive
- mkdir -p dist - mkdir -p dist
@ -120,6 +121,7 @@ package:
- "./dist/openflexure-microscope-server-${CI_COMMIT_REF_NAME}.tar.gz.sha256" - "./dist/openflexure-microscope-server-${CI_COMMIT_REF_NAME}.tar.gz.sha256"
only: only:
- merge_requests
- tags - tags
- web - web