Skip to content

Commit 83a4f32

Browse files
committed
fix(ci): treat HTTP 201 as a successful Render deploy in workflow
1 parent b82d413 commit 83a4f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
-H "Authorization: Bearer ${RENDER_API_KEY}" \
143143
-d '')
144144
145-
if [ "$RESPONSE" != "200" ]; then
145+
if [ "$RESPONSE" != "200" ] && [ "$RESPONSE" != "201" ]; then
146146
echo "❌ Render deploy failed with status $RESPONSE"
147147
cat response.json
148148
exit 1

0 commit comments

Comments
 (0)