Spaces:
Sleeping
Sleeping
fixed url in deploy.yaml
Browse files
.github/workflows/deploy.yaml
CHANGED
@@ -9,15 +9,12 @@ jobs:
|
|
9 |
runs-on: ubuntu-latest
|
10 |
steps:
|
11 |
- uses: actions/checkout@v4
|
12 |
-
|
13 |
- name: Push repo to HF Space
|
14 |
env:
|
15 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
16 |
run: |
|
17 |
git config --global user.email "ci@github"
|
18 |
git config --global user.name "github-ci"
|
19 |
-
|
20 |
-
|
21 |
-
git remote set-url hf https://[email protected]/spaces/MooseML/homo-lumo-gap-predictor
|
22 |
-
# force-push the current branch to Space
|
23 |
git push -f hf HEAD:main
|
|
|
9 |
runs-on: ubuntu-latest
|
10 |
steps:
|
11 |
- uses: actions/checkout@v4
|
|
|
12 |
- name: Push repo to HF Space
|
13 |
env:
|
14 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
15 |
run: |
|
16 |
git config --global user.email "ci@github"
|
17 |
git config --global user.name "github-ci"
|
18 |
+
git remote add hf https://[email protected]/spaces/MooseML/homo-lumo-gap-predictor \
|
19 |
+
|| git remote set-url hf https://[email protected]/spaces/MooseML/homo-lumo-gap-predictor
|
|
|
|
|
20 |
git push -f hf HEAD:main
|