Skip to content
Snippets Groups Projects
Commit 03de3473 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Merge branch 'dev' of git.app.uib.no:spraksamlingane/beta.ordbok.uib.no into replace-api

parents bf68e58c 7bb24cd3
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,28 @@ stages: ...@@ -2,13 +2,28 @@ stages:
- build - build
- deploy - deploy
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: never
- if: '$CI_COMMIT_BRANCH'
build-dev: build-dev:
image: node:latest image: node:latest
tags: tags:
- spraaksamlingene_01 - spraaksamlingene_01
stage: build stage: build
rules:
- if: $CI_COMMIT_TAG == null
when: always
script: script:
- echo "VUE_APP_VERSION_LABEL=$CI_COMMIT_BRANCH" >> .env.dev_server - |-
if [[ $CI_PIPELINE_SOURCE == "merge_request_event" ]]; then
echo "VUE_APP_VERSION_LABEL=MERGE $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME ($CI_COMMIT_SHORT_SHA)" >> .env.dev_server
else
echo "VUE_APP_VERSION_LABEL=BRANCH $CI_COMMIT_BRANCH ($CI_COMMIT_SHORT_SHA)" >> .env.dev_server
fi
- npm install --progress=false - npm install --progress=false
- npm run build -- --mode dev_server - npm run build -- --mode dev_server
artifacts: artifacts:
...@@ -38,9 +53,9 @@ deploy-dev: ...@@ -38,9 +53,9 @@ deploy-dev:
- spraaksamlingene_01 - spraaksamlingene_01
stage: deploy stage: deploy
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_PIPELINE_SOURCE == 'merge_request_event'
when: always when: always
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != 'merge_request_event'
when: manual when: manual
script: script:
- rm -rf ~/.aws - rm -rf ~/.aws
......
This diff is collapsed.
...@@ -99,8 +99,9 @@ header > p { ...@@ -99,8 +99,9 @@ header > p {
.beta { .beta {
position: absolute; position: absolute;
white-space: nowrap;
top: 2px; top: 2px;
font-size: 20px; font-size: 18px;
color: #BBBBBB; color: #BBBBBB;
padding-left: 15px; padding-left: 15px;
} }
......
...@@ -286,7 +286,8 @@ article:not(.righ_hand_column) .inflection-canvas { ...@@ -286,7 +286,8 @@ article:not(.righ_hand_column) .inflection-canvas {
td.hilite { td.hilite {
background-color: var(--v-tertiary-base) background-color: var(--v-tertiary-base);
text-align: center
} }
</style> </style>
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