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