Update main.yml
Browse files
.github/workflows/main.yml
CHANGED
@@ -10,19 +10,10 @@ jobs:
|
|
10 |
sync-to-hub:
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
-
- name: Set up Node.js 20.x
|
14 |
-
uses: actions/setup-node@v3
|
15 |
-
with:
|
16 |
-
node-version: '20'
|
17 |
-
|
18 |
- uses: actions/checkout@v3
|
19 |
with:
|
20 |
fetch-depth: 0
|
21 |
lfs: true
|
22 |
-
|
23 |
-
- name: Pull latest changes allowing unrelated histories
|
24 |
-
run: git pull --no-rebase --allow-unrelated-histories https://reichaves:$HF_TOKEN@huggingface.co/spaces/reichaves/Chatbot-Gemma2-9b-It-all-MiniLM-L6-v2-Brazil-PDF main
|
25 |
-
|
26 |
- name: Push to hub
|
27 |
env:
|
28 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
10 |
sync-to-hub:
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
|
|
|
|
|
|
|
|
|
|
13 |
- uses: actions/checkout@v3
|
14 |
with:
|
15 |
fetch-depth: 0
|
16 |
lfs: true
|
|
|
|
|
|
|
|
|
17 |
- name: Push to hub
|
18 |
env:
|
19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|