name: Deploy to Hugging Face Spaces on: push: branches: - main jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true - name: Push to HuggingFace env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git remote add hf https://Rudy-16:$HF_TOKEN@huggingface.co/spaces/Rudy-16/UserManagement git push --force hf main:main