mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
add url arg to build (#2674)
This commit is contained in:
parent
6798ea38d7
commit
b9df6f3804
@ -8,7 +8,8 @@ npm_required
|
||||
echo "Building the website..."
|
||||
set -e
|
||||
cd website/homepage
|
||||
LATEST_COMMIT=$(git log -1 --format="%H")
|
||||
npm install
|
||||
npm run build
|
||||
npm run build --url=https://gradio-main-build.s3.amazonaws.com/$LATEST_COMMIT/
|
||||
cd build
|
||||
python -m http.server
|
||||
|
Loading…
Reference in New Issue
Block a user