Skip to content

Commit

Permalink
204
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 committed Feb 1, 2025
1 parent 821e6dc commit 999bf83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Redeploy Dev Service
run: |
RESPONSE=$(curl -s -o response.txt -w "%{http_code}" -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }})
if [ "$RESPONSE" -ne 200 ]; then
if [ "$RESPONSE" -ne 204 ]; then
echo "❌ Deployment failed! HTTP Response: $RESPONSE"
cat response.txt # 오류 메시지 출력 (필요 시)
exit 1
Expand Down

0 comments on commit 999bf83

Please sign in to comment.