File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 run : |
3434 git config --global user.name "github-actions[bot]"
3535 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
36- git remote set-url origin git@github.com:Sllambias/staging_open.git
3736 git remote add ssh-origin git@github.com:Sllambias/staging_private.git
3837
3938 - name : Ensure github.com is in known_hosts
@@ -58,20 +57,18 @@ jobs:
5857 run : |
5958 git restore --staged README.md
6059
61-
6260 - name : commit
6361 run : |
6462 git commit -m "deploy changes"
6563
6664 - name : Sync repositories
6765 run : |
6866 echo "Pushing to SSH remote: git@github.com:Sllambias/staging_private.git -> branch main"
69-
7067 git remote -v
7168 echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
7269 ssh -T -o StrictHostKeyChecking=no git@github.com || true
73-
7470 git push
71+
7572 - name : Sync repositoriesv2
7673 run : |
7774 git push -f -u ssh-origin HEAD:main
You can’t perform that action at this time.
0 commit comments