Skip to content

Commit 577f069

Browse files
committed
Fix git pull with explicit remote branch
1 parent 60c3912 commit 577f069

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
port: ${{ secrets.SSH_PORT || 22 }}
1818
script: |
1919
cd ${{ secrets.BETA_PATH }}
20-
git pull
20+
git pull origin beta

.github/workflows/deploy-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
port: ${{ secrets.SSH_PORT || 22 }}
1818
script: |
1919
cd ${{ secrets.MAIN_PATH }}
20-
git pull
20+
git pull origin main

0 commit comments

Comments
 (0)