MR4 / .github /workflows /sync_to_huggingface.yml
Bromeo777's picture
Update sync_to_huggingface.yml
b8756ec unverified
name: Sync to Hugging Face Space
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 Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push --force https://Bromeo777:$HF_TOKEN@huggingface.co/spaces/Bromeo777/MR4 main