Spaces:
Running
Running
coyotte508
commited on
Commit
·
fd73f59
1
Parent(s):
8683e0d
remove outdated comment
Browse files
build.sh
CHANGED
@@ -43,7 +43,6 @@ eval $BUILD_COMMAND
|
|
43 |
echo "Build completed successfully, uploading the build output..."
|
44 |
|
45 |
# Those commands use the HF_TOKEN in the environment
|
46 |
-
# maybe we should use a tmp build branch and upload to it to have no downtime
|
47 |
hfjs branch create $HF_SPACE_NAME refs/tmp/build --repo-type space --empty --force
|
48 |
hfjs upload $HF_SPACE_NAME $OUTPUT_PATH $OUTPUT_PATH --repo-type space --revision refs/tmp/build
|
49 |
hfjs branch create $HF_SPACE_NAME refs/convert/build --repo-type space --revision refs/tmp/build --force
|
|
|
43 |
echo "Build completed successfully, uploading the build output..."
|
44 |
|
45 |
# Those commands use the HF_TOKEN in the environment
|
|
|
46 |
hfjs branch create $HF_SPACE_NAME refs/tmp/build --repo-type space --empty --force
|
47 |
hfjs upload $HF_SPACE_NAME $OUTPUT_PATH $OUTPUT_PATH --repo-type space --revision refs/tmp/build
|
48 |
hfjs branch create $HF_SPACE_NAME refs/convert/build --repo-type space --revision refs/tmp/build --force
|