1
0
MAX7456JSON/.drone.yml
Jens True 4aba8efdc7
All checks were successful
continuous-integration/drone/push Build is passing
Dublication
2021-11-01 09:28:04 +00:00

46 lines
957 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: upload
image: appleboy/drone-scp
settings:
host: jcktrue.dk
username:
from_secret: DRONE_USERNAME_SCP
password:
from_secret: DRONE_PASSWORD_SCP
source:
- .pio\build\max7456board\firmware.hex
- docs/**
target:
- /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/dev
rm: true
- name: release
image: appleboy/drone-scp
settings:
host: jcktrue.dk
username:
from_secret: DRONE_USERNAME_SCP
password:
from_secret: DRONE_PASSWORD_SCP
source:
- .pio\build\max7456board\firmware.hex
- docs/**
target:
- /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/${DRONE_SEMVER}
rm: true
when:
event:
- tag