File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -71,15 +71,22 @@ jobs:
7171 cache-from : type=gha
7272 cache-to : type=gha,mode=max
7373 push : true
74- provenance : false
74+ provenance : false # Disable image index metadata
7575
7676 redeploy_dev_service :
7777 name : Redeploy Dev Service
7878 needs : docker_build_and_push
7979 runs-on : ubuntu-latest
8080 steps :
8181 - name : Redeploy Dev Service
82- run : curl -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }}
82+ run : |
83+ RESPONSE=$(curl -s -o response.txt -w "%{http_code}" -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }})
84+ if [ "$RESPONSE" -ne 200 ]; then
85+ echo "❌ Deployment failed! HTTP Response: $RESPONSE"
86+ cat response.txt # 오류 메시지 출력 (필요 시)
87+ exit 1
88+ fi
89+ echo "✅ Deployment successful! HTTP Response: $RESPONSE"
8390
8491 deploy_health_check :
8592 name : Check Application Status
You can’t perform that action at this time.
0 commit comments