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.
autonomic.zone/sbin/entrypoint.sh
Luke Murphy 7eeb732aca
All checks were successful
continuous-integration/drone/push Build is passing
JEKYLL_ENV comes in from the container
2020-04-06 14:11:17 +02:00

25 lines
313 B
Bash
Executable File

#!/bin/bash
set -eu -o pipefail
# Fire up Jekyll with the right configuration
run_jekyll() {
set -eu
bundle exec jekyll serve \
--config "$JEKYLL_CONFIG" \
--host "$JEKYLL_HOST" \
--port "$JEKYLL_PORT" \
--trace \
--verbose
}
# Main entrypoint
main() {
set -eu
run_jekyll
}
main