Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kalidax committed Nov 27, 2023
1 parent c9b3178 commit d0d2b15
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/sync-axelar-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ jobs:

- name: Sync with private repo
run: |
# Set the push URL for the 'origin' remote
git remote set-url --push origin ${{ secrets.PRIVATE_REPO_URL }}
# Push changes using --mirror, excluding the deletion of the main branch
git push --mirror --force
# Add private repo as a remote
git remote add private ${{ secrets.PRIVATE_REPO_URL }}
# Fetch branches from private repo
git fetch private
# Mirror all branches, tags, and other refs to private repo
git push private --mirror

0 comments on commit d0d2b15

Please sign in to comment.