2021-08-07 11:26:39 +02:00
|
|
|
stages:
|
2021-08-07 11:27:28 +02:00
|
|
|
- documentation
|
2021-08-07 11:26:39 +02:00
|
|
|
- release
|
|
|
|
|
2018-12-01 22:10:32 +01:00
|
|
|
pages:
|
2021-08-07 11:26:05 +02:00
|
|
|
image: ubuntu
|
2021-08-07 11:27:28 +02:00
|
|
|
stage: documentation
|
2018-12-01 22:10:32 +01:00
|
|
|
script:
|
2021-07-09 15:33:29 +02:00
|
|
|
- cd doxygen/
|
2021-07-09 17:11:30 +02:00
|
|
|
- apt update && apt install -y git doxygen python3-pip
|
2020-04-08 19:48:47 +02:00
|
|
|
- git clone git://github.com/mosra/m.css
|
2021-07-09 14:50:00 +02:00
|
|
|
- pip3 install jinja2 Pygments
|
2020-04-08 19:48:47 +02:00
|
|
|
- ./m.css/documentation/doxygen.py ./Doxyfile-mcss
|
2021-07-09 17:19:22 +02:00
|
|
|
- mv ./html ../public
|
2018-12-01 22:10:32 +01:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-07-09 17:19:22 +02:00
|
|
|
- public
|
2018-12-01 22:10:32 +01:00
|
|
|
only:
|
|
|
|
- master
|
2021-08-07 11:26:05 +02:00
|
|
|
|
|
|
|
publish:
|
|
|
|
image: python:3.6
|
2021-08-07 11:26:39 +02:00
|
|
|
stage: release
|
2021-08-07 11:26:05 +02:00
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
script:
|
|
|
|
- "pip install -U platformio"
|
|
|
|
- "cd CodeRacer_MKII"
|
|
|
|
- "pio package publish"
|
|
|
|
|
|
|
|
release:
|
2021-08-07 11:45:36 +02:00
|
|
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
2021-08-07 11:26:05 +02:00
|
|
|
stage: release
|
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
script:
|
2021-08-07 11:45:36 +02:00
|
|
|
- release-cli create
|