Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Academy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iGEM Websites
Academy
Commits
450b5e8c
Commit
450b5e8c
authored
3 years ago
by
Kamile Liucija Vainiute
Browse files
Options
Downloads
Plain Diff
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
3 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+28
-0
28 additions, 0 deletions
.gitlab-ci.yml
with
28 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
28
−
0
View file @
450b5e8c
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment