ElevenClip-AI / .github /workflows /sync-to-hf.yml
JakgritB
ci: add GitHub Actions workflow to sync main branch to Hugging Face Space
947afb4
raw
history blame contribute delete
499 Bytes
name: Sync to Hugging Face Space
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add space https://JakgritB:$HF_TOKEN@huggingface.co/spaces/lablab-ai-amd-developer-hackathon/ElevenClip-AI
git push space main --force