Skip to content

Commit d63cfb9

Browse files
committed
check-workflows
1 parent dfc82c4 commit d63cfb9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/actions/deploy-to-control-plane/scripts/deploy.sh

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ fi
2929
TEMP_OUTPUT=$(mktemp)
3030
trap 'rm -f "$TEMP_OUTPUT"' EXIT
3131

32+
last_output=$(cpln workload get 2>&1)
33+
echo "$last_output"
34+
3235
# Deploy the application
3336
echo "🚀 Deploying to Control Plane (timeout: ${WAIT_TIMEOUT}s)"
3437
if timeout "$WAIT_TIMEOUT" cpflow deploy-image -a "$APP_NAME" --run-release-phase --org "$CPLN_ORG" --verbose | tee "$TEMP_OUTPUT"; then

.github/workflows/deploy-to-control-plane-review-app.yml

+2
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)