diff --git a/.github/workflows/sync-hf.yaml b/.github/workflows/sync-hf.yaml index e2699c1..0530035 100644 --- a/.github/workflows/sync-hf.yaml +++ b/.github/workflows/sync-hf.yaml @@ -1,7 +1,8 @@ name: Sync to Hugging Face hub + on: push: - branches: [space] + branches: [main] # to run this workflow manually from the Actions tab workflow_dispatch: @@ -14,6 +15,11 @@ jobs: with: fetch-depth: 0 lfs: true + + # Check out the branch you want to push (e.g., space) + # - name: Checkout space branch + # run: git checkout space + - name: Push to hub env: HF_TOKEN: ${{ secrets.HF_TOKEN }}