Browse Source

Add repo sync in deployment

pull/23/head
Angel Aviel Domaoan 4 years ago
parent
commit
6a51a76673
  1. 9
      .github/workflows/deployment.yml

9
.github/workflows/deployment.yml

@ -9,6 +9,15 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: "[email protected]:lexintegritastech/cdao-pjet.git"
source_branch: "master"
destination_repo: "[email protected]:cdasia/cdao-pjet.git"
destination_branch: "master"
source_ssh_private_key: ${{ secrets.SOURCE_SSH_PRIVATE_KEY }}
destination_ssh_private_key: ${{ secrets.DESTINATION_SSH_PRIVATE_KEY }}
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:

Loading…
Cancel
Save