diff --git a/justfile b/justfile index 11403a7..5fe3c2e 100644 --- a/justfile +++ b/justfile @@ -23,11 +23,18 @@ stop: # Build the static site for production build: yarn website:build + just update-installer # Serve the production build on port 80 serve: yarn website:serve -- --port 80 --host 0.0.0.0 +# Pull the latest install script from GitHub into static assets and build output +update-installer: + curl -fsSL https://raw.githubusercontent.com/merchantprotocol/protocol/master/bin/install -o website/static/install.sh + cp website/static/install.sh website/build/install.sh 2>/dev/null || true + @echo "install.sh updated" + # Clean build artifacts and Docusaurus cache clean: cd website && rm -rf build .docusaurus