LumiSign / .github /workflows /sync_hf.yml
anthony01's picture
update: workflows run command
74f204d
Raw
History Blame Contribute Delete
588 Bytes
name: Sync to Hugging Face hub
on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true # Ensures Large File Storage is pulled correctly
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push --force https://anthony01:$HF_TOKEN@huggingface.co/spaces/anthony01/LumiSign main