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