Skip to content

Commit

Permalink
chore: try custom action
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Apr 3, 2024
1 parent 8f6048a commit 10da6b2
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/sync_on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ jobs:
name: repo-archive
path: '.'

# - name: git-sync
# uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83
# with:
# source_repo: "zama-ai/concrete-ml"
# source_branch: "main"
# destination_repo: "https://${{ secrets.BOT_USERNAME }}:${{ secrets.CONCRETE_ACTIONS_TOKEN }}@github.com/${{ secrets.SYNC_DEST_REPO }}"
# destination_branch: "main"

- name: Sync private repository
uses: ad-m/github-push-action@master
- name: git-sync
uses: RomanBredehoft/git-sync@8932432f3bcf6543d4df3e9267eb74ffb9e2df13
with:
github_token: ${{ secrets.BOT_TOKEN }}
repository: ${{ secrets.SYNC_DEST_REPO }}
force: true
source_repo: "zama-ai/concrete-ml"
source_branch: "main"
destination_repo: "https://${{ secrets.BOT_USERNAME }}:${{ secrets.CONCRETE_ACTIONS_TOKEN }}@github.com/${{ secrets.SYNC_DEST_REPO }}"
destination_branch: "main"
push_lfs_all: true

# - name: Sync private repository
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }}
# repository: ${{ secrets.SYNC_DEST_REPO }}
# force: true

0 comments on commit 10da6b2

Please sign in to comment.