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 06b82858f9
All checks were successful
continuous-integration/drone/push Build is passing
Use different configs for different envs
2020-04-06 13:45:40 +02:00

24 lines
297 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
}
# Main entrypoint
main() {
set -eu
run_jekyll
}
main