AshishT/LanguageModel
0
1name: Sync to Hugging Face hub2on:3 push:4 branches: [main]5 6 workflow_dispatch:7 8 9jobs:10 sync-to-hub:11 runs-on: ubuntu-latest12 steps:13 - uses: actions/checkout@v214 with:15 fetch-depth: 016 - name: Add remote17 env:18 HF: ${{ secrets.HG }}19 run: git remote add space https://AshishT:$HF@huggingface.co/spaces/AshishT/LanguageModel20 - name: Push to hub21 env:22 HF: ${{ secrets.HG }}23 run: git push --force https://AshishT:$HF@huggingface.co/spaces/AshishT/LanguageModel main24 25 