name: Deploy to Hugging Face on: push: branches: [ main ] jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout full history uses: actions/checkout@v3 with: fetch-depth: 0 # important: disables shallow clone - name: Push to HF Space run: | git push --force https://akisg:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/akisg/care-notes main