From 1640279bd5ed61f99f4f70a5bcb63678e6737ed1 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Sun, 17 Jul 2022 16:40:20 +0200 Subject: [PATCH] make sure to get new refs for existing branches Signed-off-by: Toshaan Bharvani --- Makefile | 1 + 1 file changed, 1 insertion(+) 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