|
|
@ -11,17 +11,16 @@ jobs: |
|
|
|
repo-sync: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- name: ssh |
|
|
|
uses: webfactory/ssh-agent@v0.2.0 |
|
|
|
- name: webfactory/ssh-agent |
|
|
|
uses: webfactory/ssh-agent@v0.4.1 |
|
|
|
with: |
|
|
|
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }} |
|
|
|
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }} |
|
|
|
|
|
|
|
- name: repo-sync |
|
|
|
uses: wei/git-sync@v2 |
|
|
|
uses: wei/git-sync@v2.1.0 |
|
|
|
with: |
|
|
|
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }} |
|
|
|
source_repo: "https://github.com/GameServerManagers/LinuxGSM" |
|
|
|
source_branch: "refs/heads/*" |
|
|
|
destination_repo: "git@bitbucket.org:GameServerManagers/linuxgsm.git" |
|
|
|
destination_branch: "refs/heads/*" |
|
|
|
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }} |
|
|
|