diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8624833..f27fe05 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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 } }" - }'