aim / .github /workflows /sync-to-hf.yml
Claude
Trigger HF Spaces sync
00e3d64 unverified
raw
history blame contribute delete
453 Bytes
name: Sync to Hugging Face Spaces
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git push --force https://Rochane:$HF_TOKEN@huggingface.co/spaces/Rochane/aim main
# Trigger HF sync