Update git-sync.yml

This commit is contained in:
Daniel Gibbs 2021-01-15 23:48:45 +00:00 committed by GitHub
parent d04e66a543
commit c69a0130bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,17 +6,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/Game-Server-Configs"
source_branch: "master"
destination_repo: "git@bitbucket.org:GameServerManagers/game-server-configs.git"
destination_branch: "master"
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }}