Skip to content

Commit

Permalink
chore: add install lfs
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Apr 3, 2024
1 parent ad58eab commit 64b73fd
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/sync_on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
if: ${{ github.repository == 'zama-ai/concrete-ml' }}
runs-on: ubuntu-latest
steps:
- name: Install LFS
run: |
sed -i 's|^deb http://archive|deb http://fr.archive|g' /etc/apt/sources.list
apt update && apt install git git-lfs -y
- name: Checkout repo
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
with:
Expand All @@ -24,14 +29,22 @@ jobs:
name: repo-archive
path: '.'

# - name: git-sync
# uses: RomanBredehoft/git-sync@c3a834b8f207d9273466a7e6335593f3d5b4214a
# 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"
# push_lfs_all: true

- name: git-sync
uses: RomanBredehoft/git-sync@c3a834b8f207d9273466a7e6335593f3d5b4214a
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"
push_lfs_all: true

# - name: Sync private repository
# uses: ad-m/github-push-action@master
Expand Down

0 comments on commit 64b73fd

Please sign in to comment.