mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 09:48:21 +01:00
add prod stage
This commit is contained in:
@@ -10,7 +10,7 @@ firmware:
|
|||||||
stage: build
|
stage: build
|
||||||
image: python:2.7-stretch
|
image: python:2.7-stretch
|
||||||
before_script:
|
before_script:
|
||||||
- "pip install -U platformio"
|
- pip install -U platformio
|
||||||
script:
|
script:
|
||||||
- mv data/example.config.json data/config.json
|
- mv data/example.config.json data/config.json
|
||||||
- pio run -t clean
|
- pio run -t clean
|
||||||
@@ -19,7 +19,10 @@ firmware:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
stage: production
|
stage: production
|
||||||
|
script:
|
||||||
|
- mkdir release
|
||||||
|
- mv .pioenvs/build/firmware.bin release
|
||||||
|
- mv .pioenvs/build/spiffs.bin release
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- .pioenvs/build/firmware.bin
|
- release
|
||||||
- .pioenvs/build/spiffs.bin
|
|
||||||
|
|||||||
Reference in New Issue
Block a user