name: connecting-to-hf on: push: branches: - main pull_request: branches: - main env: HF_USERNAME: levena HF_SPACE: zerogpudevmode jobs: sync: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true - name: Sync to Hugging Face run: git push --force https://levena:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/${{env.HF_USERNAME}}/${{env.HF_SPACE}} main # run: git push https://ruslanmv:$HF_TOKEN@huggingface.co/spaces/ruslanmv/Milvus-Client-Embedding main