mirror of
https://github.com/dokku/dokku.git
synced 2025-12-25 16:29:30 +01:00
18 lines
434 B
Bash
Executable File
18 lines
434 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
trigger-builder-lambda-builder-detect() {
|
|
declare desc="builder-lambda builder-detect plugin trigger"
|
|
declare trigger="builder-detect"
|
|
declare APP="$1" SOURCECODE_WORK_DIR="$2"
|
|
|
|
if [[ -f "$SOURCECODE_WORK_DIR/lambda.yml" ]]; then
|
|
echo "lambda"
|
|
return
|
|
fi
|
|
}
|
|
|
|
trigger-builder-lambda-builder-detect "$@"
|