Commit 2c7a38be authored by Toni Salo's avatar Toni Salo
Browse files

Merge branch 'master' of https://gitlab.utu.fi/tokasal/soitin

parents 0731d798 d70df21d
Pipeline #40939 failed with stages
in 26 seconds
......@@ -6,6 +6,11 @@ cache:
paths:
- node_modules/
stages:
- build
- test
- deploy
build:
stage: build
script:
......@@ -14,6 +19,14 @@ build:
paths:
- build/
pages:
stage: deploy
script:
- mv public /tmp && mv build public
artifacts:
paths:
- public/
test:
stage: test
......@@ -24,7 +37,10 @@ test:
deploy:
stage: deploy
script:
- npm install -g serve
- serve -s build
- mv public /tmp && mv build public
artifacts:
paths:
- public/
\ No newline at end of file
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