Skip to content
Snippets Groups Projects
Commit 450b5e8c authored by Kamile Liucija Vainiute's avatar Kamile Liucija Vainiute
Browse files

Merge branch 'main' of gitlab.igem.io:hq-tech/academy.igem.org into main

parents ca078975 6ec16fbb
No related branches found
No related tags found
No related merge requests found
Pipeline #687 passed
image: node:14.14.0-alpine
variables:
PUBLIC_URL: /
pages:
stage: build
script:
- npm ci
- npm run build
- rm ./public -rf
- mv ./build ./public
- cp ./public/index.html ./public/404.html
artifacts:
paths:
- public
rules:
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
when: never
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'
build:
stage: build
only:
- merge_requests
script:
- npm ci
- npm run lint
- npm run build
\ No newline at end of file
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