name: Sync to Hugging Face on: push: branches: [ main ] jobs: sync: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Push to Hugging Face env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git remote add hf https://VioletWizard:$HF_TOKEN@huggingface.co/spaces/VioletWizard/talk-trace-ai git push hf main --force