Skip to content
Snippets Groups Projects
Commit 26896218 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

Merge branch 'ci_pages' into 'master'

Rework CI/CD configuration and introduce Pages

See merge request !25
parents 904a8e54 aafe47e1
No related branches found
No related tags found
1 merge request!25Rework CI/CD configuration and introduce Pages
Pipeline #18594 passed
stages:
- test
- tests
- build
- publish
check-i18n-job:
image: ubuntu:20.04
stage: test
check-i18n:
image: debian:latest
stage: tests
script:
- apt update && apt-get -y install jq
- ./utils/findMissingI18nKeys.sh
only:
- merge_requests
- apt update
- apt --yes install jq
- bash utils/findMissingI18nKeys.sh
build-job:
image: node:16
build:
image: node:16-bullseye
stage: tests
script:
- npm install
- npm run build
generate:
image: node:16-bullseye
stage: build
script:
- node --version
- npm --version
- npm install
- npm run build
only:
- merge_requests
- yarn generate
artifacts:
paths:
- dist
expire_in: 2 days
rules:
- if: $CI_COMMIT_TAG
when: manual
pages:
stage: publish
needs: ["generate"]
script:
- ls dist
artifacts:
paths:
- dist
expire_in: 1 week
rules:
- if: $CI_COMMIT_TAG
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