From 23a4bf8a1b52374099d27729ff57d4134f1ac3c1 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Sun, 17 Jul 2022 18:00:33 +0200 Subject: [PATCH] we need pull as fetch doesn't update the branch Signed-off-by: Toshaan Bharvani --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bff3972..d4a7734 100644 --- a/Makefile +++ b/Makefile @@ -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