EMMA-CVPR2026 / .github /workflows /sync-to-hf.yml
abanerj3's picture
Upload folder using huggingface_hub
b46439f verified
Raw
History Blame Contribute Delete
714 Bytes
name: Sync to Hugging Face Space
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install Hugging Face CLI
run: |
python -m pip install --upgrade pip
pip install -U "huggingface_hub[cli]"
- name: Remove unsupported binary GIF before upload
run: |
rm -f docs/media/free-fall-real.gif
- name: Upload to Hugging Face Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
hf upload ASU-IMPACT-Lab/EMMA-CVPR2026 . . \
--repo-type space \
--token "$HF_TOKEN" \
--delete "*"