mirror of
https://github.com/godotengine/godot-website.git
synced 2026-01-06 14:09:58 +03:00
Add way to customize host and port for build-and-serve.sh (#846)
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SERVER_HOST="${SERVER_HOST:-0.0.0.0}"
|
||||
SERVER_PORT="${SERVER_PORT:-4000}"
|
||||
|
||||
bundle install
|
||||
bundle exec jekyll serve --config _config.yml,_config.development.yml --host 0.0.0.0
|
||||
bundle exec jekyll serve --config _config.yml,_config.development.yml --host "$SERVER_HOST" --port "$SERVER_PORT"
|
||||
|
||||
Reference in New Issue
Block a user