Skip to content

Commit

Permalink
Update compile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-8 committed Sep 21, 2024
1 parent 6378031 commit d63e56b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d63e56b

Please sign in to comment.