fix: updated public repo url #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Repository | |
on: | |
push: | |
branches: | |
- "main" | |
- "dev" | |
jobs: | |
sync: | |
if: github.repository == 'defi-wonderland/prophet-core-private' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out github repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install SSH Client | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SYNC_SSH_PRIVATE_KEY }} | |
- name: Add Remote | |
run: git remote add public [email protected]:defi-wonderland/prophet-core.git | |
- name: Sync branch | |
run: git push public ${{ github.ref_name }} |