Spaces:
Sleeping
Sleeping
Dev Virani
commited on
Commit
•
1b5499d
1
Parent(s):
046bd6c
Update main.yml
Browse files- .github/workflows/main.yml +10 -5
.github/workflows/main.yml
CHANGED
@@ -1,18 +1,23 @@
|
|
1 |
-
name: Sync to Hugging Face
|
|
|
2 |
on:
|
3 |
push:
|
4 |
branches: [main]
|
5 |
-
|
6 |
workflow_dispatch:
|
|
|
7 |
jobs:
|
8 |
-
sync-to-hub:
|
9 |
runs-on: ubuntu-latest
|
10 |
steps:
|
11 |
- uses: actions/checkout@v2
|
12 |
with:
|
13 |
fetch-depth: 0
|
14 |
-
|
|
|
15 |
env:
|
16 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
17 |
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
|
18 |
-
run:
|
|
|
|
|
|
|
|
1 |
+
name: Sync to Hugging Face
|
2 |
+
|
3 |
on:
|
4 |
push:
|
5 |
branches: [main]
|
|
|
6 |
workflow_dispatch:
|
7 |
+
|
8 |
jobs:
|
9 |
+
sync-to-hub:
|
10 |
runs-on: ubuntu-latest
|
11 |
steps:
|
12 |
- uses: actions/checkout@v2
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
+
|
16 |
+
- name: Push to Hugging Face
|
17 |
env:
|
18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
19 |
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
|
20 |
+
run: |
|
21 |
+
git config --global user.email "[email protected]"
|
22 |
+
git config --global user.name "GitHub Actions"
|
23 |
+
git push --force https://itsdvirani:[email protected]/spaces/itsdvirani/InterActiveStoryTeller main
|