From 038b19254bba5c2665b1eaafe53b20131cfd17ab Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Thu, 31 Oct 2024 15:25:14 -0600 Subject: [PATCH] Tweak checkout and fetch --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0dee49f70b08..f19cddda7a7b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -189,8 +189,8 @@ jobs: git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" # Update submodule to latest on staging - git fetch --depth=1 origin staging - git checkout staging + git fetch + git checkout -b staging origin/staging - name: Configure MapBox SDK run: ./scripts/setup-mapbox-sdk.sh ${{ secrets.MAPBOX_SDK_DOWNLOAD_TOKEN }} @@ -490,8 +490,8 @@ jobs: git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" # Update submodule to latest on staging - git fetch --depth=1 origin staging - git checkout staging + git fetch + git checkout -b staging origin/staging - name: Configure MapBox SDK run: |