make sure to get new refs for existing branches

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

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

Loading…
Cancel
Save