stages:
- lint
- - build
- - document
- - deploy
cache:
key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
stage: lint
script:
- make lint
-
-build:
- stage: build
- script:
- - make build
-
-document:
- stage: document
- script:
- - make document
- artifacts:
- paths:
- - docs
-
-pages:
- stage: deploy
- script:
- - mv docs public
- artifacts:
- paths:
- - public