Remove worker restart step from CI
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s

Rolling release from template update is fast enough (~1 min).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Nick
2025-12-27 18:13:27 +13:00
parent f86acde2e5
commit 85e38bc3ec

View File

@@ -50,17 +50,3 @@ jobs:
-H "Authorization: Bearer ${{ secrets.RUNPOD_API_KEY }}" \ -H "Authorization: Bearer ${{ secrets.RUNPOD_API_KEY }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"imageName": "flybynight69420/comfyui-serverless:latest"}' -d '{"imageName": "flybynight69420/comfyui-serverless:latest"}'
- name: Restart RunPod Workers
run: |
curl -s -X POST "https://api.runpod.io/graphql?api_key=${{ secrets.RUNPOD_API_KEY }}" \
-H "Content-Type: application/json" \
-d '{
"query": "mutation { saveEndpoint(input: { id: \"${{ secrets.RUNPOD_ENDPOINT_ID }}\", name: \"comfyui-serverless\", workersMin: 0, workersMax: 0 }) { id } }"
}'
sleep 5
curl -s -X POST "https://api.runpod.io/graphql?api_key=${{ secrets.RUNPOD_API_KEY }}" \
-H "Content-Type: application/json" \
-d '{
"query": "mutation { saveEndpoint(input: { id: \"${{ secrets.RUNPOD_ENDPOINT_ID }}\", name: \"comfyui-serverless\", workersMin: 0, workersMax: 1 }) { id } }"
}'