lucashudsn commited on
Commit
1e02f84
·
1 Parent(s): d4c9a3c

deploy: create the space remote in CI (fresh checkout has only origin)

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy-space.yml +2 -1
.github/workflows/deploy-space.yml CHANGED
@@ -24,5 +24,6 @@ jobs:
24
  run: |
25
  git config user.name "wavereader-ci"
26
  git config user.email "wavereader-ci@users.noreply.github.com"
27
- git remote set-url space "https://lucashudsn:${HF_TOKEN}@huggingface.co/spaces/lucashudsn/wavereader.git"
 
28
  scripts/deploy_space.sh main space
 
24
  run: |
25
  git config user.name "wavereader-ci"
26
  git config user.email "wavereader-ci@users.noreply.github.com"
27
+ # fresh checkout only has origin — create the space remote here
28
+ git remote add space "https://lucashudsn:${HF_TOKEN}@huggingface.co/spaces/lucashudsn/wavereader.git"
29
  scripts/deploy_space.sh main space