Environment to the correct step
This commit is contained in:
parent
750cbdf443
commit
9bcdfcf56c
15
.drone.yml
15
.drone.yml
|
@ -26,6 +26,13 @@ steps:
|
||||||
- platformio run --environment d1_mini
|
- platformio run --environment d1_mini
|
||||||
# Build file system image
|
# Build file system image
|
||||||
- platformio run --target buildfs --environment d1_mini
|
- platformio run --target buildfs --environment d1_mini
|
||||||
|
environment:
|
||||||
|
hostname:
|
||||||
|
from_secret: hostname
|
||||||
|
IOTSSID:
|
||||||
|
from_secret: iotssid
|
||||||
|
iotpwd:
|
||||||
|
from_secret: iotpwd
|
||||||
- name: upload
|
- name: upload
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
|
@ -37,13 +44,7 @@ steps:
|
||||||
# (Build if necessary and) Upload Filesystem Image (here: OTA)
|
# (Build if necessary and) Upload Filesystem Image (here: OTA)
|
||||||
# - platformio run --target uploadfs --environment d1_mini
|
# - platformio run --target uploadfs --environment d1_mini
|
||||||
|
|
||||||
environment:
|
|
||||||
hostname:
|
|
||||||
from_secret: hostname
|
|
||||||
IOTSSID:
|
|
||||||
from_secret: iotssid
|
|
||||||
iotpwd:
|
|
||||||
from_secret: iotpwd
|
|
||||||
#- name: release
|
#- name: release
|
||||||
# image: python:3.10 # eclipse/platformio #
|
# image: python:3.10 # eclipse/platformio #
|
||||||
# commands:
|
# commands:
|
||||||
|
|
Loading…
Reference in New Issue