Files
weather-station/update.sh

8 lines
159 B
Bash
Executable File

#!/bin/bash
git pull
cd client && npm i && npx vite build
cd ../server && npm i
sudo systemctl restart weather-sensors
sudo systemctl restart weather-station