name: Sync to hf space on: push: branches: [main] jobs: push-to-hub: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 lfs: true - name: Sync to hf space env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: git push https://mantrakp:$HF_TOKEN@huggingface.co/spaces/mantrakp/aai main