Change workflow to correct branch
All checks were successful
Website Sync / website-sync (push) Successful in 6s
All checks were successful
Website Sync / website-sync (push) Successful in 6s
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
||||
ssh-keyscan "$SSH_HOST" >> ~/.ssh/known_hosts
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
ssh "$SSH_USER@$SSH_HOST" "cd $SSH_WEBSITE_LOCATION && git stash && git pull --force origin master"
|
||||
ssh "$SSH_USER@$SSH_HOST" "cd $SSH_WEBSITE_LOCATION && git stash && git pull --force origin main"
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
SSH_USER: ${{ secrets.SSH_USER }}
|
||||
|
||||
Reference in New Issue
Block a user