* added convert html files to workflow

This commit is contained in:
lumapu 2022-07-07 07:58:15 +02:00
parent 1a99453322
commit 457792d20b
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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")