library/.gitlab-ci.yml

35 lines
564 B
YAML

stages:
- documentation
- release
pages:
image: ubuntu
stage: documentation
script:
- cd doxygen/
- apt update && apt install -y git doxygen python3-pip
- doxygen
- mv ./html ../public
artifacts:
paths:
- public
only:
- master
publish:
image: python:3.6
stage: release
only:
- tags
script:
- "pip install -U platformio"
- "cd CodeRacer_MKII"
- "pio package publish"
release:
image: registry.gitlab.com/gitlab-org/release-cli:latest
stage: release
only:
- tags
script:
- release-cli create