This article is about Codeship Basic.

Deploy With Cloud66

You will need about one minute to read this article.

Integrating Cloud 66 with Codeship is as simple as copying and pasting a URL!

Once you’ve deployed your stack with Cloud 66, you’ll see a Redeployment Hook URL on your Stack Information page. To trigger a new deployment via Codeship, simply add a Script deployment to the project and add the following command:

curl -X POST -d "" https://hooks.cloud66.com/stacks/redeploy/xxxx/yyyy

If you a have docker based microservice architecture and you want to (re)deploy only one service on your cluster, add the following command:

curl -X POST -d "" https://hooks.cloud66.com/stacks/redeploy/xxxx/yyyy?services=web

For multiple services in one go:

curl -X POST -d "" https://hooks.cloud66.com/stacks/redeploy/xxxx/yyyy?services=web,app

Need more help?

You can post on Stack Overflow using the tag #codeship or contact our Helpdesk.
We also have a couple of code examples and sample projects available for you to get started with.

Was This Article Helpful?

Do you think we need to improve this article? If so, please submit our feedback form to help us improve this article!