name: Deploy to Hugging Face Spaces on: push: branches: - main workflow_dispatch: jobs: deploy: runs-on: ubuntu-latest env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true steps: - name: Checkout uses: actions/checkout@v4.2.2 with: fetch-depth: 0 lfs: true - name: Push to Hugging Face Spaces env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git config --global user.email "deploy@github-actions.com" git config --global user.name "GitHub Actions" git push https://koersenm70:${HF_TOKEN}@huggingface.co/spaces/koersenm70/TAM main --force