Initial commit.
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Trigger: runs after every successful deploy, before nginx-vhosts rebuilds
|
||||
# the proxy config (plugins run in name order; google-auth < nginx-vhosts).
|
||||
# Belt-and-suspenders companion to nginx-pre-reload.
|
||||
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