This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
2020-03-31 12:37:09 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
|
|
|
|
# Fire up Jekyll with the right configuration
|
|
|
|
run_jekyll() {
|
|
|
|
set -eu
|
|
|
|
|
2020-04-06 11:04:16 +00:00
|
|
|
bundle exec jekyll serve \
|
2020-04-06 11:45:40 +00:00
|
|
|
--config "$JEKYLL_CONFIG" \
|
2020-04-06 12:11:17 +00:00
|
|
|
--host "$JEKYLL_HOST" \
|
2020-04-06 11:35:35 +00:00
|
|
|
--port "$JEKYLL_PORT" \
|
2020-04-06 11:57:58 +00:00
|
|
|
--trace \
|
|
|
|
--verbose
|
2020-03-31 12:37:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Main entrypoint
|
|
|
|
main() {
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
run_jekyll
|
|
|
|
}
|
|
|
|
|
|
|
|
main
|