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 29
29
TEMP_OUTPUT=$( mktemp)
30
30
trap ' rm -f "$TEMP_OUTPUT"' EXIT
31
31
32
+ last_output=$( cpln workload get 2>&1 )
33
+ echo " $last_output "
34
+
32
35
# Deploy the application
33
36
echo " 🚀 Deploying to Control Plane (timeout: ${WAIT_TIMEOUT} s)"
34
37
if 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:
178
178
if ! cpflow exists -a ${{ env.APP_NAME }}; then
179
179
echo "APP_EXISTS=false" >> $GITHUB_ENV
180
180
else
181
+ last_output=$(cpln workload get 2>&1)
182
+ echo "$last_output"
181
183
echo "APP_EXISTS=true" >> $GITHUB_ENV
182
184
fi
183
185
You can’t perform that action at this time.
0 commit comments