This commit is contained in:
44
.drone.yml
44
.drone.yml
@ -7,29 +7,29 @@ steps:
|
|||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
- apt-get -y install libusb-1.0
|
- apt-get -y install libusb-1.0
|
||||||
- make
|
- make
|
||||||
- name: docs
|
- name: docs
|
||||||
image: corentinaltepe/doxygen
|
image: corentinaltepe/doxygen
|
||||||
commands:
|
commands:
|
||||||
- doxygen
|
- doxygen
|
||||||
- name: release-dev
|
- name: release-dev
|
||||||
image: alpine
|
image: alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: output
|
- name: output
|
||||||
path: /output
|
path: /output
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /output/dev/
|
- mkdir -p /output/dev/
|
||||||
- cp -r docs/html/* /output/dev/docs/
|
- cp -r docs/html/* /output/dev/docs/
|
||||||
|
|
||||||
- name: release-tag
|
- name: release-tag
|
||||||
image: alpine
|
image: alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: output
|
- name: output
|
||||||
path: /output
|
path: /output
|
||||||
commands:
|
commands:
|
||||||
- cp -r /output/dev/ /output/${DRONE_SEMVER}/
|
- cp -r /output/dev/ /output/${DRONE_SEMVER}/
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
volumes:
|
volumes:
|
||||||
- name: output
|
- name: output
|
||||||
host:
|
host:
|
||||||
|
Reference in New Issue
Block a user