mikail-bitik's picture
Add workflow to sync repository with Hugging Face
52625b9 unverified
Raw
History Blame Contribute Delete
443 Bytes
name: Sync to Hugging Face hub
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 hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push --force https://mikail-bitik:$HF_TOKEN@huggingface.co/spaces/mikail-bitik/CorrectiveRAGProject main