coyotte508 commited on
Commit
8881914
·
1 Parent(s): e6fe3de

Empty branch

Browse files
Files changed (1) hide show
  1. build.sh +1 -2
build.sh CHANGED
@@ -36,9 +36,8 @@ eval $BUILD_COMMAND
36
 
37
  echo "Build completed successfully, uploading the build output..."
38
 
39
- # Upload the build output to the Hugging Face space. Later use --empty instead of --revision
40
  # Those commands use the HF_TOKEN in the environment
41
- hfjs create-branch $HF_SPACE_NAME refs/convert/build --repo-type space --revision main --force
42
  hfjs upload $HF_SPACE_NAME $OUTPUT_PATH $OUTPUT_PATH --repo-type space --revision refs/convert/build
43
 
44
  echo "Build and upload completed successfully."
 
36
 
37
  echo "Build completed successfully, uploading the build output..."
38
 
 
39
  # Those commands use the HF_TOKEN in the environment
40
+ hfjs create-branch $HF_SPACE_NAME refs/convert/build --repo-type space --empty --force
41
  hfjs upload $HF_SPACE_NAME $OUTPUT_PATH $OUTPUT_PATH --repo-type space --revision refs/convert/build
42
 
43
  echo "Build and upload completed successfully."