build: pull latest changes before deployment build

This commit is contained in:
2026-11-02 12:20:27 +09:00
parent 8b6d407507
commit db945a41cb
+1
View File
@@ -10,6 +10,7 @@ fi
# Check the service account before replacing dist.
sunrise_group=$(id -gn sunrise)
git pull --ff-only
npm run build
install -d -o sunrise -g "$sunrise_group" -m 755 dist/threads-captures
systemctl restart sunrise-threads.service