Skip to content

Commit 99c2c14

Browse files
authored
Update deploy_to_private.yaml
1 parent e4501b0 commit 99c2c14

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/deploy_to_private.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
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

0 commit comments

Comments
 (0)