FinAIAgent / .github /workflows /sync_to_hf.yml
Sbboss's picture
h
58a2e84
raw
history blame contribute delete
410 Bytes
name: Sync to Hugging Face Space
on:
push:
branches: [main]
jobs:
deploy:
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 -f https://$GITHUB_ACTOR:$HF_TOKEN@huggingface.co/spaces/Sbboss/FinAIAgent main