Iris / .github /workflows /push_to_hf_space.yml
ebbalg
Update push_to_hf_space.yml
37d53dc
raw
history blame contribute delete
448 Bytes
name: Sync with Hugging Face Hub
on:
push:
branches:
- main
jobs:
build:
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://ebbalg:$HF_TOKEN@huggingface.co/spaces/ebbalg/Iris
git push hf main --force