force push
Browse files
    	
        .github/workflows/sync_to_huggingface.yaml
    CHANGED
    
    | 
         @@ -2,8 +2,6 @@ name: Sync to Hugging Face hub 
     | 
|
| 2 | 
         
             
            on:
         
     | 
| 3 | 
         
             
              push:
         
     | 
| 4 | 
         
             
                branches: [main]
         
     | 
| 5 | 
         
            -
             
     | 
| 6 | 
         
            -
              # to run this workflow manually from the Actions tab
         
     | 
| 7 | 
         
             
              workflow_dispatch:
         
     | 
| 8 | 
         | 
| 9 | 
         
             
            jobs:
         
     | 
| 
         @@ -14,7 +12,8 @@ jobs: 
     | 
|
| 14 | 
         
             
                    with:
         
     | 
| 15 | 
         
             
                      fetch-depth: 0
         
     | 
| 16 | 
         
             
                      lfs: true
         
     | 
| 17 | 
         
            -
             
     | 
| 
         | 
|
| 18 | 
         
             
                    env:
         
     | 
| 19 | 
         
             
                      HF_TOKEN: ${{ secrets.HF_TOKEN }}
         
     | 
| 20 | 
         
            -
                    run: git push https://tikendraw:$HF_TOKEN@huggingface.co/spaces/tikendraw/open-o1 main
         
     | 
| 
         | 
|
| 2 | 
         
             
            on:
         
     | 
| 3 | 
         
             
              push:
         
     | 
| 4 | 
         
             
                branches: [main]
         
     | 
| 
         | 
|
| 
         | 
|
| 5 | 
         
             
              workflow_dispatch:
         
     | 
| 6 | 
         | 
| 7 | 
         
             
            jobs:
         
     | 
| 
         | 
|
| 12 | 
         
             
                    with:
         
     | 
| 13 | 
         
             
                      fetch-depth: 0
         
     | 
| 14 | 
         
             
                      lfs: true
         
     | 
| 15 | 
         
            +
             
     | 
| 16 | 
         
            +
                  - name: Force Push to hub
         
     | 
| 17 | 
         
             
                    env:
         
     | 
| 18 | 
         
             
                      HF_TOKEN: ${{ secrets.HF_TOKEN }}
         
     | 
| 19 | 
         
            +
                    run: git push --force https://tikendraw:$HF_TOKEN@huggingface.co/spaces/tikendraw/open-o1 main
         
     |