Spaces:
Runtime error
Runtime error
HAMIM-ML
commited on
Commit
·
c961a84
1
Parent(s):
e619c7d
workflow added
Browse files- .github/main.yaml +7 -5
.github/main.yaml
CHANGED
@@ -1,19 +1,21 @@
|
|
1 |
-
name: Sync to Hugging Face
|
2 |
|
3 |
on:
|
4 |
push:
|
5 |
branches: [main]
|
6 |
-
|
7 |
workflow_dispatch:
|
8 |
|
9 |
jobs:
|
10 |
sync-to-hub:
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
-
- uses: actions/checkout@
|
14 |
with:
|
15 |
fetch-depth: 0
|
16 |
-
- name: Push to
|
17 |
env:
|
18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
19 |
-
run:
|
|
|
|
|
|
|
|
1 |
+
name: Sync to Hugging Face Hub
|
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@v3
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
+
- name: Push to Hugging Face Hub
|
16 |
env:
|
17 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
18 |
+
run: |
|
19 |
+
git config --global user.email "[email protected]"
|
20 |
+
git config --global user.name "HAKIM-ML"
|
21 |
+
git push --force https://Md-Hakim:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/Md-Hakim/image-colorization-mlops main
|