Gitlab CI
- A gitlab ci contains stages and job. Jobs are grouped in stages and run in parallel.
stages:
- build
- deploy
build-job:
stage: build
image: node
script:
- npm install
- npm run build
artifacts:
paths:
- "build/"
pages:
stage: deploy
script:
- mv build/ public/
artifacts:
paths:
- "public/"
stages
directive defines the sequence of jobs. There are two jobs with their stage mentioned in their definition.