# .github/workflows/deploy.yml name: Deploy to HF Space on: push: branches: [main] jobs: deploy: runs-on: ubuntu-latest env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true steps: - uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true - name: Push to HF Space env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git config user.email "deploy@github.com" git config user.name "GitHub Actions" git config lfs.allowincompletepush true git remote add hf https://atlez:$HF_TOKEN@huggingface.co/spaces/atlez/bittle-sneaker git push hf main --force