From 5860af9d0bacbfcafccf2081d76ed644c8e4dc72 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Fri, 5 May 2023 11:27:07 +0100 Subject: [PATCH] git fetch --- .build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.build.yml b/.build.yml index 9e711b0..4187058 100644 --- a/.build.yml +++ b/.build.yml @@ -22,6 +22,7 @@ tasks: # Get current git branch echo "Deploying to Vercel" + git fetch origin trunk # If trunk branch, use --prod, otherwise just deploy if [ "$(git rev-parse origin/trunk)" != "$(git rev-parse HEAD)" ]; then echo "Deploying to production"