Browse Source

we need pull as fetch doesn't update the branch

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
master
Toshaan Bharvani 7 months ago
parent
commit
23a4bf8a1b
  1. 2
      Makefile

2
Makefile

@ -21,7 +21,7 @@ build-staging: @@ -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