Deploy with Cloud66

1 minute read

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