name: Sync to Hugging Face Space on: # push: # branches: [main] workflow_dispatch: jobs: sync: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 lfs: true - name: Push to Space env: HF_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }} run: | git push https://dn-scrib:$HF_TOKEN@huggingface.co/spaces/dn-scribe/ai main --force