name: Deploy to Hugging Face Spaces on: push: branches: - main jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 lfs: true - name: Push to HF Space env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git config --global user.email "action@github.com" git config --global user.name "GitHub Action" git push https://Qusix111:$HF_TOKEN@huggingface.co/spaces/Qusix111/Ren main --force