MooseML commited on
Commit
bb0a741
·
1 Parent(s): 7c9c550

fixed url in deploy.yaml

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yaml +2 -5
.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
- # add or update the HF remote
20
- git remote add hf https://[email protected]/spaces/MooseML/homo-lumo-gap-predictor || \
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