Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chiang-yuan committed Jun 26, 2024
1 parent 1a82aee commit 260dfb4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sync-hf.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit 260dfb4

Please sign in to comment.