multilingual_rag / .github /workflows /docker-image.yml
ajoy0071998's picture
Clean start without binary files
6b82347
Raw
History Blame Contribute Delete
684 Bytes
name: Sync to Hugging Face Spaces
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add hf https://ajoy0071998:${HF_TOKEN}@huggingface.co/spaces/ajoy0071998/multilingual_rag || true
git push --force hf main