FOXES / .github /workflows /sync.yml
Griffin Goodwin
Add GitHub Actions workflow for syncing to Hugging Face
d927313
raw
history blame contribute delete
436 Bytes
name: Sync to Hugging Face
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to HF
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git push --force https://griffingoodwin04:$HF_TOKEN@huggingface.co/griffingoodwin04/FOXES main