we need pull as fetch doesn't update the branch

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1720744104865095624/master
Toshaan Bharvani 2 years ago
parent 1640279bd5
commit 23a4bf8a1b

@ -21,7 +21,7 @@ build-staging:
@for branch in $(BRANCHNAMES) ; do \
echo -e "Building branch \e[1;33m"$${branch}"\e[0m" ; \
git checkout $${branch} ; \
git fetch ; \
git pull ; \
$(HUGO) --environment=production --minify --templateMetrics --baseURL https://$(BASEURL)/$${branch}/ --destination builds/$${branch} ; \
done
@git checkout master

Loading…
Cancel
Save