Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 24s
9 lines
295 B
Bash
Executable File
9 lines
295 B
Bash
Executable File
#!/bin/bash
|
|
source "${AGENT_PATH}/common.sh"
|
|
_check_required_env_vars "CONTAINER_NAME"
|
|
|
|
# Hot-reload the Caddyfile configuration
|
|
docker exec "${CONTAINER_NAME}" caddy reload --config /etc/caddy/Caddyfile || _die "Failed to reload configuration"
|
|
|
|
echo "Caddy configuration reloaded successfully"
|