Spaces:
Sleeping
Sleeping
Commit ·
1e02f84
1
Parent(s): d4c9a3c
deploy: create the space remote in CI (fresh checkout has only origin)
Browse files
.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 |
-
|
|
|
|
| 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
|