Skip to content
Snippets Groups Projects
Commit 9cf031ed authored by Niklas Schrötler's avatar Niklas Schrötler
Browse files

CI: Implemented building the react project

parent c41e8bd1
No related branches found
No related tags found
No related merge requests found
......@@ -17,18 +17,20 @@ sonarqube-check:
rules:
- if: $CI_COMMIT_BRANCH == 'master'
build:
image: node:14.15.3-buster-slim
stage: build
script:
- npm install
- npm run build
artifacts:
paths:
- build/
pages:
stage: deploy
script:
- mkdir public
- mv js public/js
- mv css public/css
- mv panels public/panels
- mv config public/config
- mv content public/content
- mv index.html public/index.html
- mv favicon.png public/favicon.png
- mv build public
artifacts:
paths:
- public/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment