|
@ -24,6 +24,25 @@ steps: |
|
|
when: |
|
|
when: |
|
|
event: tag |
|
|
event: tag |
|
|
|
|
|
|
|
|
|
|
|
- name: deploy |
|
|
|
|
|
image: appleboy/drone-scp |
|
|
|
|
|
settings: |
|
|
|
|
|
host: 172.16.85.15 |
|
|
|
|
|
target: /var/www/fwupdate/fota/${DRONE_REPO_NAME} |
|
|
|
|
|
source: |
|
|
|
|
|
- .pio/build/lolin_d32_pro/*.bin |
|
|
|
|
|
- version.txt |
|
|
|
|
|
#rm: true |
|
|
|
|
|
strip_components: 1 |
|
|
|
|
|
username: |
|
|
|
|
|
from_secret: ssh_username |
|
|
|
|
|
password: |
|
|
|
|
|
from_secret: ssh_password |
|
|
|
|
|
port: |
|
|
|
|
|
from_secret: ssh_port |
|
|
|
|
|
when: |
|
|
|
|
|
event: tag |
|
|
|
|
|
|
|
|
- name: notify |
|
|
- name: notify |
|
|
image: drillster/drone-email |
|
|
image: drillster/drone-email |
|
|
settings: |
|
|
settings: |
|
|