update updater

Took 9 minutes
This commit is contained in:
Tobias Hopp 2023-02-03 11:48:25 +01:00
parent 75209ccfa8
commit 7d773c7d1c

View File

@ -3,5 +3,9 @@ cd /home/itender/itender || exit -1
git pull "https://tobiash:!IwedwrimmVeudiweN!@git.gaminggeneration.de/tobiash/itender.git" --quiet git pull "https://tobiash:!IwedwrimmVeudiweN!@git.gaminggeneration.de/tobiash/itender.git" --quiet
yarn yarn
yarn run compile yarn run compile
sudo systemctl restart itender sudo systemctl stop itender
cd ./arduino/itender/
arduino-cli compile --fqbn arduino:avr:mega itender.ino || true
arduino-cli upload --port /dev/ACM0 --fqbn arduino:avr:mega itender.ino || true
sudo systemctl start itender
exit 0 exit 0