diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index db9d105..9c913cb 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -38,9 +38,15 @@ jobs: rm -f ./gbg_program/_wifi_site.ino cp ./gbg_program/_wifi_site.html ./gbg_program/_wifi_site.ino + echo "111111" + sed -i 's/"/\"/g' ./gbg_program/_wifi_site.ino + echo "222222" tr '\n' ' ' < ./gbg_program/_wifi_site.ino > ./gbg_program/_wifi_site.ino.tmp - mv ./gbg_program/_wifi_site.ino.tmp ./gbg_program/_wifi_site.ino + echo "333333" + mv -f ./gbg_program/_wifi_site.ino.tmp ./gbg_program/_wifi_site.ino + echo "444444" + git status git commit . -m "BOT process website" --allow-empty git push