Skip to content

Commit abd2530

Browse files
committed
try sleep
1 parent 50865e2 commit abd2530

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,11 @@ jobs:
111111
fi
112112
113113
# Check if app exists and save state
114-
if ! cpflow exists -a ${{ env.APP_NAME }}; then
114+
if cpflow exists -a ${{ env.APP_NAME }}; then
115115
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
116-
exit 0
116+
echo "Canceling job as review app has not been previously deployed."; sleep inf
117117
fi
118118
echo "APP_EXISTS=false" >> $GITHUB_ENV
119-
else
120-
echo "APP_EXISTS=true" >> $GITHUB_ENV
121119
fi
122120
123121
- name: Validate Deployment Request

0 commit comments

Comments
 (0)