Browse Source

ci: include secrets

main 0.5.4-test.4
Hendrik Langer 4 years ago
parent
commit
cb79007915
  1. 20
      .drone.yml

20
.drone.yml

@ -8,6 +8,24 @@ steps:
image: python
environment:
PLATFORMIO_CI_SRC: "src"
WIFI_SSID:
from_secret: WIFI_SSID
WIFI_PASSWD:
from_secret: WIFI_PASSWD
WIFI_SSID2:
from_secret: WIFI_SSID2
WIFI_PASSWD2:
from_secret: WIFI_PASSWD2
WIFI_SSID3:
from_secret: WIFI_SSID3
WIFI_PASSWD3:
from_secret: WIFI_PASSWD3
MQTT_BROKER_URI:
from_secret: MQTT_BROKER_URI
MQTT_USERNAME:
from_secret: MQTT_USERNAME
MQTT_PASSWORD:
from_secret: MQTT_PASSWORD
commands:
- pip install -U platformio
- platformio run
@ -35,7 +53,7 @@ steps:
target: /var/www/fwupdate/fota
source:
- deploy/${DRONE_REPO_NAME}.bin
- deploy/${DRONE_REPO_NAME}.version
- deploy/${DRONE_REPO_NAME}.bin.version
#rm: true
strip_components: 1
username:

Loading…
Cancel
Save