FreudArthur's picture
Initial clean commit
a3b7df7
Raw History Blame Contribute Delete
564 Bytes
name: Sync to Hugging Face Spaces
on:
push:
branches: [main] # Déclenche le déploiement lors d'un push sur la branche principale
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add hf https://FreudArthur:$HF_TOKEN@huggingface.co/spaces/FreudArthur/Automatisation
git push --force hf main