Skip to content

Commit 7bb666e

Browse files
authored
Continue troubleshooting branch checkout...
1 parent 7e7f3de commit 7bb666e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/sync-repo-staging.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ jobs:
3434
3535
export GIT_SSH_COMMAND="ssh -i $HOME/.ssh/deploy_key"
3636
git remote add sync-repo git@github.com:${{ env.REPO }}.git
37-
git fetch --all
37+
git fetch sync-repo deploy
3838
3939
- name: Fast-forward deployment branch
4040
run: |
4141
git config push.default upstream
42-
git checkout -b deploy sync-repo/deploy
42+
git switch -c deploy sync-repo/deploy
43+
git status
44+
git log
4345
git merge --ff-only ${{ env.RELEASE_CHANNEL }}
4446
4547
- name: Push to remote repo

0 commit comments

Comments
 (0)