build: pull latest changes before deployment build
This commit is contained in:
@@ -10,6 +10,7 @@ fi
|
|||||||
|
|
||||||
# Check the service account before replacing dist.
|
# Check the service account before replacing dist.
|
||||||
sunrise_group=$(id -gn sunrise)
|
sunrise_group=$(id -gn sunrise)
|
||||||
|
git pull --ff-only
|
||||||
npm run build
|
npm run build
|
||||||
install -d -o sunrise -g "$sunrise_group" -m 755 dist/threads-captures
|
install -d -o sunrise -g "$sunrise_group" -m 755 dist/threads-captures
|
||||||
systemctl restart sunrise-threads.service
|
systemctl restart sunrise-threads.service
|
||||||
|
|||||||
Reference in New Issue
Block a user