Skip to content

Commit

Permalink
[WIP] Workflow to connect + sync hugging face hub to DJ (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
sayantikabanik authored Dec 23, 2024
2 parents 2665f45 + 91b82a9 commit f602e2c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/hf-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sync DJ to Saya's Hugging Face hub
on:
push:
branches: [main]

workflow_dispatch:

jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push https://sayabanik:[email protected]/spaces/sayabanik/DJ main

0 comments on commit f602e2c

Please sign in to comment.