1
0
MAX7456JSON/.drone.yml
Jens True 16466099a3
All checks were successful
continuous-integration/drone/push Build is passing
Push to S3 after build
2021-10-31 22:03:21 +01:00

38 lines
813 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: python:3
commands:
- pip install platformio
- pio run
- pio check --skip-packages
- name: docs
image: corentinaltepe/doxygen
commands:
- doxygen
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: DRONE_ACCESS_TOKEN
base_url: https://code.jcktrue.dk
files:
- .pio/build/max7456board/firmware.hex
when:
event: tag
- 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