37 lines
681 B
YAML
37 lines
681 B
YAML
stages:
|
|
- documentation
|
|
- release
|
|
|
|
pages:
|
|
image: ubuntu
|
|
stage: documentation
|
|
script:
|
|
- cd doxygen/
|
|
- apt update && apt install -y git doxygen python3-pip
|
|
- git clone git://github.com/mosra/m.css
|
|
- pip3 install jinja2 Pygments
|
|
- ./m.css/documentation/doxygen.py ./Doxyfile-mcss
|
|
- 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
|