This commit is contained in:
23
.drone.yml
23
.drone.yml
@ -22,16 +22,17 @@ steps:
|
|||||||
- .pio/build/max7456board/firmware.hex
|
- .pio/build/max7456board/firmware.hex
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
- name: upload-dev
|
- name: upload
|
||||||
image: plugins/s3
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
source: .pio\build\max7456board\firmware.hex docs/**
|
host: jcktrue.dk
|
||||||
bucket: build
|
username:
|
||||||
access_key:
|
from_secret: DRONE_USERNAME_SCP
|
||||||
from_secret: DRONE_ACCESS_TOKEN
|
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: DRONE_SECRET_TOKEN
|
from_secret: DRONE_PASSWORD_SCP
|
||||||
target: /MAX7456JSON/${DRONE_REPO_NAME}/dev
|
source:
|
||||||
endpoint: https://files.jcktrue.dk
|
- .pio\build\max7456board\firmware.hex
|
||||||
strip_prefix: true
|
- docs/**
|
||||||
path_style: true
|
target: /apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/dev
|
||||||
|
rm: true
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user