Spaces:
Sleeping
Sleeping
Omar Solano
commited on
Commit
Β·
7b6593b
1
Parent(s):
f515a8c
set github action for scripts folder
Browse files
.github/workflows/deploy_hf.yaml
CHANGED
@@ -2,6 +2,9 @@ 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:
|
@@ -18,4 +21,4 @@ jobs:
|
|
18 |
env:
|
19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
20 |
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
21 |
-
run: git push --force https://$HF_USERNAME:[email protected]/spaces/towardsai-buster/ai-tutor-chatbot main:main
|
|
|
2 |
on:
|
3 |
push:
|
4 |
branches: [main]
|
5 |
+
paths:
|
6 |
+
- 'scripts/**' # Replace with the path to your specific folder
|
7 |
+
- 'requirements.txt' # Add this line to include requirements.txt
|
8 |
|
9 |
# to run this workflow manually from the Actions tab
|
10 |
workflow_dispatch:
|
|
|
21 |
env:
|
22 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
23 |
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
24 |
+
run: git push --force https://$HF_USERNAME:[email protected]/spaces/towardsai-buster/ai-tutor-chatbot main:main
|