mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 16:36:38 +02:00
* added convert html files to workflow
This commit is contained in:
parent
1a99453322
commit
457792d20b
2 changed files with 6 additions and 2 deletions
6
.github/workflows/compile_esp8266.yml
vendored
6
.github/workflows/compile_esp8266.yml
vendored
|
@ -31,10 +31,14 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --upgrade platformio
|
||||
- name: Update html
|
||||
working-directory: tools/esp8266/html
|
||||
run: python convert.py
|
||||
- name: Run PlatformIO
|
||||
run: pio run -d tools/esp8266
|
||||
- name: rename
|
||||
run: python tools/esp8266/helpers/getVersion.py
|
||||
working-directory: tools/esp8266/helpers
|
||||
run: python getVersion.py
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: esp8266
|
||||
|
|
|
@ -22,4 +22,4 @@ def readVersion(path, infile):
|
|||
os.mkdir(path + ".pio/build/d1_mini/out/")
|
||||
os.rename(src, dst)
|
||||
|
||||
readVersion("tools/esp8266/", "defines.h")
|
||||
readVersion("../", "defines.h")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue