1
0
MAX7456JSON/.drone.yml

38 lines
813 B
YAML
Raw Normal View History

kind: pipeline
name: default
steps:
- name: build
image: python:3
commands:
- pip install platformio
- pio run
- pio check --skip-packages
2021-10-28 14:45:28 +00:00
- name: docs
2021-10-28 14:44:20 +00:00
image: corentinaltepe/doxygen
commands:
- doxygen
- name: release
image: plugins/gitea-release
settings:
2019-10-25 08:04:44 +00:00
api_key:
from_secret: DRONE_ACCESS_TOKEN
base_url: https://code.jcktrue.dk
files:
- .pio/build/max7456board/firmware.hex
when:
event: tag
2021-10-31 21:03:21 +00:00
- name: upload-dev
image: plugins/s3
settings:
source: .pio\build\max7456board\firmware.hex docs/**
bucket: build
access_key:
from_secret: DRONE_ACCESS_TOKEN
secret_key:
from_secret: DRONE_SECRET_TOKEN
target: /MAX7456JSON/${DRONE_REPO_NAME}/dev
endpoint: https://files.jcktrue.dk
strip_prefix: true
path_style: true