What is correct query to redeploy service?
marcinwloch
FREEOP

a year ago

Im trying to redeploy existing service with github action with api call.
{ "query": "mutation { redeployService(input: { serviceId: \"e79ea772-6c85-40c2-a27c-0b262ac3bae3\" }) { id } }" }

And getting that error.
{
"errors": [
{
"message": "Problem processing request",
"traceId": "4148545089122332119"
}
]
}

Solved

2 Replies

a year ago

mutation serviceInstanceDeploy($serviceId: String!, $environmentId: String!, $commitSha: String, $latestCommit: Boolean) {
  serviceInstanceDeploy(
    serviceId: $serviceId
    environmentId: $environmentId
    commitSha: $commitSha
    latestCommit: $latestCommit
  )
}
{
  "environmentId": "",
  "serviceId": "",
  "latestCommit": true
}

a year ago

!s


Status changed to Solved brody 12 months ago


Loading...