From 1928dbb74953f4f5506f09b146e2071d6b841e3b Mon Sep 17 00:00:00 2001 From: Magnus Persson Date: Sat, 8 Jan 2022 09:19:39 +0100 Subject: [PATCH] Acttion debug --- .github/workflows/pio-build.yaml | 2 ++ script/copy_html.py | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pio-build.yaml b/.github/workflows/pio-build.yaml index 50572fd..4131a02 100644 --- a/.github/workflows/pio-build.yaml +++ b/.github/workflows/pio-build.yaml @@ -34,6 +34,8 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade platformio + pwd + ls -al - name: Run PlatformIO run: pio run -e gravity-release -e gravity-perf diff --git a/script/copy_html.py b/script/copy_html.py index 4a82414..c0fcc11 100644 --- a/script/copy_html.py +++ b/script/copy_html.py @@ -8,22 +8,22 @@ target = dir + "/data/" print( "Copy html-files from " + source + " -> " + target ) file = "about.min.htm" -#print( "Copy file: " + source + file + "->" + target + file) +print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "calibration.min.htm" -#print( "Copy file: " + source + file + "->" + target + file) +print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "config.min.htm" -#print( "Copy file: " + source + file + "->" + target + file) +print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "device.min.htm" -#print( "Copy file: " + source + file + "->" + target + file) +print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "index.min.htm" -#print( "Copy file: " + source + file + "->" + target + file) +print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "upload.min.htm" -#print( "Copy file: " + source + file + "->" + target + file) +print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) #print( "Adding custom build step (copy ./heml/*.min.html to ./data/): ")