diff --git a/Makefile b/Makefile index 7fc2a61..bff3972 100644 --- a/Makefile +++ b/Makefile @@ -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