Remove worker restart step from CI
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
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:
@@ -50,17 +50,3 @@ jobs:
|
||||
-H "Authorization: Bearer ${{ secrets.RUNPOD_API_KEY }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-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 } }"
|
||||
}'
|
||||
|
||||
Reference in New Issue
Block a user