WhatRepo / .github /workflows /sync_to_hf.yml
Krishna172912's picture
Update sync_to_hf.yml
5e02ebc unverified
raw
history blame contribute delete
500 Bytes
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 }}
# Replace YOUR_HF_USERNAME and YOUR_SPACE_NAME below!
run: git push --force https://Krishna324:$HF_TOKEN@huggingface.co/spaces/Krishna324/WhatRepo main