Mayuresh Agashe commited on
Commit
8be0e04
·
1 Parent(s): 4c3c96b

Update githubhfsync.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/githubhfsync.yml +4 -2
.github/workflows/githubhfsync.yml CHANGED
@@ -3,7 +3,7 @@ on:
3
  push:
4
  branches: [main]
5
  paths:
6
- - 'Techdocs/**'
7
 
8
  # to run this workflow manually from the Actions tab
9
  workflow_dispatch:
@@ -20,4 +20,6 @@ jobs:
20
  - name: Push to hub
21
  env:
22
  HF_SPACES: ${{ secrets.HF_SPACES }}
23
- run: git push https://mayureshagashe2105:[email protected]/spaces/CaffeineCrew/Techdocs main -f
 
 
 
3
  push:
4
  branches: [main]
5
  paths:
6
+ - 'TechdocsAPI/*'
7
 
8
  # to run this workflow manually from the Actions tab
9
  workflow_dispatch:
 
20
  - name: Push to hub
21
  env:
22
  HF_SPACES: ${{ secrets.HF_SPACES }}
23
+ run: |
24
+ git pull https://mayureshagashe2105:[email protected]/spaces/CaffeineCrew/Techdocs main
25
+ git push https://mayureshagashe2105:[email protected]/spaces/CaffeineCrew/Techdocs main -f