Rain Poo
commited on
Update main.yml
Browse files
.github/workflows/main.yml
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
-
name: Sync to Hugging Face
|
| 2 |
on:
|
| 3 |
push:
|
| 4 |
branches: [main]
|
| 5 |
|
|
|
|
| 6 |
workflow_dispatch:
|
| 7 |
|
| 8 |
jobs:
|
|
@@ -12,12 +13,11 @@ jobs:
|
|
| 12 |
- uses: actions/checkout@v2
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
| 15 |
-
- name: Add remote
|
| 16 |
-
run: git remote add space https://huggingface.co/spaces/RainPoo/Automated-Interview-Filtering
|
| 17 |
-
- name: Push to Hugging Face
|
| 18 |
env:
|
| 19 |
-
|
| 20 |
-
run:
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
| 1 |
+
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 |
|
| 9 |
jobs:
|
|
|
|
| 13 |
- uses: actions/checkout@v2
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
+
- name: Add remote
|
|
|
|
|
|
|
| 17 |
env:
|
| 18 |
+
HF: ${{ secrets.HG }}
|
| 19 |
+
run: git remote add space https://RainPoo:[email protected]/spaces/RainPoo/Automated-Interview-Filtering
|
| 20 |
+
- name: Push to hub
|
| 21 |
+
env:
|
| 22 |
+
HF: ${{ secrets.HG }}
|
| 23 |
+
run: git push --force https://RainPoo:[email protected]/spaces/RainPoo/Automated-Interview-Filtering main
|