berangerthomas's picture
update github actions
45c7e8f
raw
history blame contribute delete
446 Bytes
name: Sync to Hugging Face
on:
push:
branches: [main]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add hf https://berangerthomas:$HF_TOKEN@huggingface.co/spaces/berangerthomas/schoolofstatistics
git push hf main --force