Commit 582a4aee authored by Vlad Dumitru's avatar Vlad Dumitru
Browse files

separate frontend and binaries' build into different stages, fix mkdir command

parent fbe4c361
Pipeline #5933 passed with stages
in 1 minute and 59 seconds
stages:
- build
- build-frontend
- build-binaries
build-frontend:
stage: build
stage: build-frontend
image: node:latest
tags:
- docker
......@@ -15,7 +16,7 @@ build-frontend:
sass style.scss:style.css
after_script:
- |
mkdir dist/assets
mkdir -p dist/assets
cp main.js dist/assets
cp style.css dist/assets
cp index.html dist/assets
......@@ -24,12 +25,10 @@ build-frontend:
- dist/
build-binaries:
stage: build
stage: build-binaries
image: ocamlpro/ocaml:4.12
tags:
- docker
dependencies:
- build-frontend
before_script:
- sudo apk add bash openssl-libs-static
script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment