Browse Source

deploy to fwupdate server

main 0.5.2-alpha.2
Hendrik Langer 4 years ago
parent
commit
266eda7783
  1. 19
      .drone.yml

19
.drone.yml

@ -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:

Loading…
Cancel
Save