Skip to content

Commit

Permalink
Tweak checkout and fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Oct 31, 2024
1 parent 087c7c9 commit 038b192
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 038b192

Please sign in to comment.