Compare commits

...

2 Commits

Author SHA1 Message Date
smf
59b017690d Merge pull request 'add compose config info' (#7) from config into local
Reviewed-on: #7
2024-03-25 21:50:43 +08:00
smf
5338247b08 add compose config info 2024-03-25 21:49:41 +08:00

View File

@@ -94,6 +94,9 @@ if ! [ -z "${INPUT_ENV_FILE_NAME+x}" ] && ! [ -z "$INPUT_ENV_FILE_NAME" ]; then
DEPLOYMENT_COMMAND="$DEPLOYMENT_COMMAND --env-file ${INPUT_ENV_FILE_NAME//,/ --env-file }"
fi
echo "Connecting to $INPUT_REMOTE_DOCKER_HOST... Command: ${DEPLOYMENT_COMMAND} config"
${DEPLOYMENT_COMMAND} "config"
if ! [ -z "${INPUT_PULL_IMAGES_FIRST+x}" ] && [ $INPUT_PULL_IMAGES_FIRST = 'true' ] ; then
echo "Connecting to $INPUT_REMOTE_DOCKER_HOST... Command: ${DEPLOYMENT_COMMAND} pull"
${DEPLOYMENT_COMMAND} "pull"