mnbrshd/CodeGenerator
0
1name: Sync to Hugging Face hub - Code Generator2on:3 push:4 branches: [main]5 6 #to run this workflow manually from the Actions tab7 workflow_dispatch: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.HF }}19 run: git remote add space https://mnbrshd:$HF@huggingface.co/spaces/mnbrshd/CodeGenerator20 - name: Push to hub21 env:22 HF: ${{ secrets.HF }}23 run: git push --force https://mnbrshd:$HF@huggingface.co/spaces/mnbrshd/CodeGenerator main24 