name: Deploy to Test Space on: push: branches: - test jobs: deploy-to-test: runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v3 with: fetch-depth: 0 lfs: true - name: Push to Hub (Test) env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" git remote add space https://XRyZ:$HF_TOKEN@huggingface.co/spaces/XRyZ/test-SiLaju git push space test:main -f