Spaces:
Runtime error
Runtime error
Rakesh Chavhan
commited on
Commit
•
d796d29
1
Parent(s):
fbd1acf
Update main.yml
Browse files
.github/workflows/main.yml
CHANGED
@@ -1,20 +1,21 @@
|
|
1 |
-
name:
|
|
|
2 |
on:
|
3 |
push:
|
4 |
branches: [main]
|
5 |
|
6 |
-
# to run this workflow manually from the
|
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 |
-
lfs: true
|
17 |
- name: Push to hub
|
18 |
env:
|
19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
20 |
-
|
|
|
|
1 |
+
name: manual
|
2 |
+
|
3 |
on:
|
4 |
push:
|
5 |
branches: [main]
|
6 |
|
7 |
+
# to run this workflow manually from the Actio ns tab
|
8 |
workflow_dispatch:
|
9 |
|
10 |
jobs:
|
11 |
sync-to-hub:
|
12 |
runs-on: ubuntu-latest
|
13 |
steps:
|
14 |
+
- uses: actions/checkout@v2
|
15 |
with:
|
16 |
fetch-depth: 0
|
|
|
17 |
- name: Push to hub
|
18 |
env:
|
19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
20 |
+
|
21 |
+
run: git lfs fetch --all;git push --force https://chavhanrv111:$HF_TOKEN@huggingface.co/spaces/Sumit7864/Image-Enhancer
|