Initial commit.
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Trigger: runs before dokku validates + reloads nginx for an app.
|
||||
# Regenerates our per-app conf so it always references the current upstream
|
||||
# (the upstream name changes if the app's port mapping changes).
|
||||
set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
source "$(dirname "${BASH_SOURCE[0]}")/functions"
|
||||
|
||||
APP="${1:-}"
|
||||
[[ -z "$APP" ]] && exit 0
|
||||
fn-google-auth-app-enabled "$APP" || exit 0
|
||||
fn-ga-write-conf "$APP" >/dev/null || true
|
||||
Reference in New Issue
Block a user