Continuous Delivery with Divshot and Codeship

Codeship News

Reading Time: 2 minutes

I am happy to welcome a new member to our Codeship Integrations family: Divshot! Divshot offer Static Web Hosting for Developers and we’ve been partnering with them for quite a while as you can see on their perks page.

Set up Continuous Delivery with Divshot and Codeship

At Codeship we want to help you to develop your software as efficiently as possible. That’s why we’ve built an easy integration for Continuous Delivery with Codeship to Divshot.

To deploy from Codeship to Divshot you first need to setup your application locally. To do so please follow the Getting Started guide. Don’t forget to commit the divshot.json file to your repository. Once you can deploy your site successfully from your local machine you need to setup your Divshot user token on the Codeship project. Grab the login token by running the following command and save it as an environment variable called DIVSHOT_TOKEN.

divshot auth:token

Then, on Codeship, add a new script based deployment to your project and include the following commands

npm install -g divshot-cli
divshot push development --token "${DIVSHOT_TOKEN}"

Don’t forget to specify the actual Divshot environment you want to deploy to (development in the example above).

Sign up for a free Codeship Account

Ready to get started? Head over to Codeship and set up your Deployment to Divshot!

Subscribe via Email

Over 60,000 people from companies like Netflix, Apple, Spotify and O'Reilly are reading our articles.
Subscribe to receive a weekly newsletter with articles around Continuous Integration, Docker, and software development best practices.



We promise that we won't spam you. You can unsubscribe any time.

Join the Discussion

Leave us some comments on what you think about this topic or if you like to add something.