nikhilkomakula commited on
Commit
4fa74b5
·
1 Parent(s): 05abef9

Removed Github Action

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +0 -41
.github/workflows/main.yml DELETED
@@ -1,41 +0,0 @@
1
- name: Sync to Hugging Face hub
2
-
3
- on:
4
- push:
5
- branches: [ main ]
6
- # to run this workflow manually from the Actions tab
7
- workflow_dispatch:
8
-
9
- jobs:
10
- sync-to-hub:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - name: Checkout code
14
- uses: actions/checkout@v4
15
- with:
16
- fetch-depth: 0
17
- lfs: true
18
-
19
- - name: Reset commit
20
- run: |
21
- git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch "data/*" "indexes/*"' --prune-empty --tag-name-filter cat -- --all
22
-
23
- - name: LFS Track
24
- run: |
25
- git lfs track "data/*" "indexes/*"
26
-
27
- - name: Checkout LFS objects
28
- run: git lfs checkout
29
-
30
- - name: Add remote
31
- env:
32
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
33
- run: |
34
- git remote add space https://nikhilkomakula:$HF_TOKEN@huggingface.co/spaces/nikhilkomakula/llm-rag-op-chatbot || true
35
-
36
- - name: Push to hub
37
- env:
38
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
39
- run: |
40
- git push --force https://nikhilkomakula:$HF_TOKEN@huggingface.co/spaces/nikhilkomakula/llm-rag-op-chatbot main
41
- exit 0