Files
app/all-apps/instance-control/b0.0.1/make-instance-control-config.sh

10 lines
298 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set -a # export everything in the config for later use by envsubst
. $1 # source the apps.config file with then env vars
# substitute template with env var to insert webhooks secret
envsubst < app/instance-control/hooks/hooks.json.tmpl > app/instance-control/hooks/hooks.json