2026-05-23 20:53:44 -07:00
|
|
|
#!/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
|
2026-07-02 19:39:56 -07:00
|
|
|
envsubst < app/instance-control/hooks/hooks.json.tmpl > app/instance-control/hooks/hooks.json
|