2019-04-01 08:21:44 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: gcc
|
|
|
|
commands:
|
|
|
|
- apt-get -y update
|
|
|
|
- apt-get -y install libusb-1.0
|
|
|
|
- make
|
2021-11-30 10:14:10 +00:00
|
|
|
|
2021-11-30 10:07:28 +00:00
|
|
|
- name: docs
|
|
|
|
image: corentinaltepe/doxygen
|
|
|
|
commands:
|
|
|
|
- doxygen
|
2021-11-30 10:14:10 +00:00
|
|
|
|
2021-11-30 10:07:28 +00:00
|
|
|
- name: release-dev
|
|
|
|
image: alpine
|
|
|
|
volumes:
|
|
|
|
- name: output
|
|
|
|
path: /output
|
|
|
|
commands:
|
2021-11-30 10:14:10 +00:00
|
|
|
- mkdir -p /output/dev/docs/
|
2021-11-30 10:07:28 +00:00
|
|
|
- cp -r docs/html/* /output/dev/docs/
|
2021-11-30 10:01:28 +00:00
|
|
|
|
2021-11-30 10:07:28 +00:00
|
|
|
- name: release-tag
|
|
|
|
image: alpine
|
|
|
|
volumes:
|
|
|
|
- name: output
|
|
|
|
path: /output
|
|
|
|
commands:
|
|
|
|
- cp -r /output/dev/ /output/${DRONE_SEMVER}/
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
2021-11-30 10:01:28 +00:00
|
|
|
volumes:
|
|
|
|
- name: output
|
|
|
|
host:
|
|
|
|
path: /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/
|