Lalit Mahale commited on
Commit
5d15bb7
·
unverified ·
1 Parent(s): e70efa8

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +6 -3
.github/workflows/main.yml CHANGED
@@ -2,7 +2,7 @@ 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
 
@@ -14,8 +14,11 @@ jobs:
14
  with:
15
  fetch-depth: 0
16
  lfs: true
 
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- HF_USERNAME: ${{ secrets.HF_USERNAME }}
21
- run: git push --force https://Lalit1997:$HF_TOKEN@huggingface.co/spaces/Lalit1997/ main
 
 
 
2
  on:
3
  push:
4
  branches: [main]
5
+
6
  # to run this workflow manually from the Actions tab
7
  workflow_dispatch:
8
 
 
14
  with:
15
  fetch-depth: 0
16
  lfs: true
17
+
18
  - name: Push to hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
+ run: |
22
+ git config --global credential.helper store
23
+ git remote set-url origin https://Lalit1997:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/Lalit1997/chat-with-database
24
+ git push --force origin main