This repository was archived by the owner on Jun 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -126,24 +126,24 @@ cf api "$CF_API"
126126cf auth " $INPUT_CF_USERNAME " " $INPUT_CF_PASSWORD "
127127cf target -o " $INPUT_CF_ORG " -s " $INPUT_CF_SPACE "
128128
129- if [[ -n " $FLYWAY_DOCKER_COMMAND " ]]; then
130- echo " Running command: $FLYWAY_DOCKER_COMMAND "
129+ if [[ -n " $INPUT_FLYWAY_DOCKER_COMMAND " ]]; then
130+ echo " Running command: $INPUT_FLYWAY_DOCKER_COMMAND "
131131
132- flyway_migrate " $FLYWAY_DOCKER_COMMAND "
132+ flyway_migrate " $INPUT_FLYWAY_DOCKER_COMMAND "
133133
134134 exit
135135fi
136136
137- if [[ -n " $DEPLOY_APP_FROM_CONFIG_COMMAND " ]]; then
138- echo " Running command: $DEPLOY_APP_FROM_CONFIG_COMMAND "
139- deploy_app_from_config " $DEPLOY_APP_FROM_CONFIG_COMMAND "
137+ if [[ -n " $INPUT_DEPLOY_APP_FROM_CONFIG_COMMAND " ]]; then
138+ echo " Running command: $INPUT_DEPLOY_APP_FROM_CONFIG_COMMAND "
139+ deploy_app_from_config " $INPUT_DEPLOY_APP_FROM_CONFIG_COMMAND "
140140 exit
141141fi
142142
143- if [[ -n " $SERVICE_COMMAND " ]]; then
144- echo " Running command: $SERVICE_COMMAND "
143+ if [[ -n " $INPUT_SERVICE_COMMAND " ]]; then
144+ echo " Running command: $INPUT_SERVICE_COMMAND "
145145 CF_SERVICE_INSTANCE=" "
146- create_service " $SERVICE_COMMAND "
146+ create_service " $INPUT_SERVICE_COMMAND "
147147 wait_for_service " $CF_SERVICE_INSTANCE "
148148 exit
149149fi
You can’t perform that action at this time.
0 commit comments