File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
actions/deploy-to-control-plane/scripts Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 2929TEMP_OUTPUT=$( mktemp)
3030trap ' rm -f "$TEMP_OUTPUT"' EXIT
3131
32+ last_output=$( cpln workload get 2>&1 )
33+ echo " $last_output "
34+
3235# Deploy the application
3336echo " 🚀 Deploying to Control Plane (timeout: ${WAIT_TIMEOUT} s)"
3437if timeout " $WAIT_TIMEOUT " cpflow deploy-image -a " $APP_NAME " --run-release-phase --org " $CPLN_ORG " --verbose | tee " $TEMP_OUTPUT " ; then
Original file line number Diff line number Diff line change @@ -178,6 +178,8 @@ jobs:
178178 if ! cpflow exists -a ${{ env.APP_NAME }}; then
179179 echo "APP_EXISTS=false" >> $GITHUB_ENV
180180 else
181+ last_output=$(cpln workload get 2>&1)
182+ echo "$last_output"
181183 echo "APP_EXISTS=true" >> $GITHUB_ENV
182184 fi
183185
You can’t perform that action at this time.
0 commit comments