Ali-Developments commited on
Commit
2da8c6f
·
unverified ·
1 Parent(s): 96225c2

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +14 -1
.github/workflows/main.yml CHANGED
@@ -14,7 +14,20 @@ jobs:
14
  with:
15
  fetch-depth: 0
16
  lfs: true
 
 
 
 
 
 
 
 
 
 
 
 
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- run: git push https://Ali-Developments:[email protected]/spaces/Ali-Developments/Alfred_LLM main
 
 
14
  with:
15
  fetch-depth: 0
16
  lfs: true
17
+
18
+ - name: Configure Git
19
+ run: |
20
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
21
+ git config --global user.name "github-actions[bot]"
22
+
23
+ - name: Sync with remote
24
+ env:
25
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
+ run: |
27
+ git pull https://Ali-Developments:[email protected]/spaces/Ali-Developments/Alfred_LLM main --rebase || true
28
+
29
  - name: Push to hub
30
  env:
31
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
32
+ run: |
33
+ git push https://Ali-Developments:[email protected]/spaces/Ali-Developments/Alfred_LLM main