function pre deploy

NAME [edit section]

pre_deploy

SYNOPSIS [edit section]

pre_deploy performs steps needed before executing the test_deploy function.

DESCRIPTION [edit section]

This internal function checks to see if the software has been built. If it can't find the build directory, or if a previous build failed (detected by the presend of a "build_failed" file in the build directory, then pre_deploy tries to build the software again.

EXAMPLES [edit section]

ENVIRONMENT and ARGUMENTS [edit section]

pre_deploy uses the following environment variables:

RETURN [edit section]

returns non-zero for error.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]