From cb79007915c19d5a2c368d1fee50ed673a690609 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Tue, 30 Jun 2020 15:37:55 +0200 Subject: [PATCH] ci: include secrets --- .drone.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0624551..26a32be 100644 --- a/.drone.yml +++ b/.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: