1
0

Prepare release folder
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jens True 2021-11-01 09:38:49 +00:00
parent 4aba8efdc7
commit 02d441019d

@ -7,12 +7,20 @@ steps:
commands:
- pip install platformio
- pio run
- pio check --skip-packages
- pio check --skip-packages > StaticCodeAnalysisReport.txt
- name: docs
image: corentinaltepe/doxygen
commands:
- doxygen
- name: upload
- name: prepare
image: alpine
commands:
- mkdir output
- cp .pio\build\max7456board\firmware.hex output/firmware.hex
- mkdir output/docs/
- cp -r docs/html output/docs/
- cp StaticCodeAnalysisReport.txt output/
- name: release-dev
image: appleboy/drone-scp
settings:
host: jcktrue.dk
@ -21,12 +29,12 @@ steps:
password:
from_secret: DRONE_PASSWORD_SCP
source:
- .pio\build\max7456board\firmware.hex
- docs/**
- output/**
strip_components: 1
target:
- /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/dev
rm: true
- name: release
- name: release-tag
image: appleboy/drone-scp
settings:
host: jcktrue.dk
@ -35,8 +43,8 @@ steps:
password:
from_secret: DRONE_PASSWORD_SCP
source:
- .pio\build\max7456board\firmware.hex
- docs/**
- output/**
strip_components: 1
target:
- /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/${DRONE_SEMVER}
rm: true