디렉토리 구조 개선(egbim 분리)
Deploy EG-BIM QA Gateway / deploy (push) Successful in 40s

This commit is contained in:
root
2026-09-21 16:48:42 +09:00
parent 5cc1504758
commit 9bbd9ed8ce
14 changed files with 28 additions and 29 deletions
+5 -9
View File
@@ -10,14 +10,11 @@ upload() {
npx wrangler r2 object put "$bucket/$key" --file "$file" --content-type "$content_type" --remote
}
upload index.html index.html text/html
upload write.html write.html text/html
upload detail.html detail.html text/html
upload app.js app.js application/javascript
upload index.html egbim/index.html text/html
upload write.html egbim/write.html text/html
upload detail.html egbim/detail.html text/html
upload app.js egbim/app.js application/javascript
upload egbim/index.html egbim/index.html text/html
upload egbim/write.html egbim/write.html text/html
upload egbim/detail.html egbim/detail.html text/html
upload egbim/app.js egbim/app.js application/javascript
upload egbim/config.js egbim/config.js application/javascript
while IFS= read -r file; do
key="${file#./}"
@@ -31,7 +28,6 @@ while IFS= read -r file; do
*) content_type="application/octet-stream" ;;
esac
upload "$file" "$key" "$content_type"
upload "$file" "egbim/$key" "$content_type"
done < <(find ./assets -type f -not -name '*.map' -print | sort)
echo "Uploaded static files to R2 bucket: $bucket"