srikanthreddy-lectures
Create sync.yml
7d5a35d
Raw History Blame Contribute Delete
410 Bytes
name: Sync to Hugging Face Hub
on:
push:
branches: [main]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push --force https://scott2srikanth:$HF_TOKEN@huggingface.co/spaces/scott2srikanth/ask-my-notes main