Akis Giannoukos
Enhance GitHub Actions workflow by checking out full history for reliable deployment to Hugging Face
30f47d7
raw
history blame contribute delete
422 Bytes
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