This article is about CodeShip Basic.

Push To Remote Repository

You will need about one minute to read this article.

If you want to deploy your application by doing a git push to a remote repository please follow these steps:

  1. Remove the CodeShip deploy key from the repository. You’ll find this option in the repository settings on the respective service.
  2. Add the public key from your projects General settings page to a so called machine user and provide this user with access to your repository. (Note that though we link to a GitHub documentation page, the process will work elsewhere as well.)
  3. Add a script-based deployment to your project and include the commands from deployments/
  4. You might want to modify the commit message to include either of the following four strings if you push to a remote repository which is configured on CodeShip as well, as the push would trigger a new build otherwise:
  • --skip-ci
  • --ci-skip
  • [skip ci]
  • [ci skip]

Need more help?

Contact our support team or post on Stack Overflow using the tag #codeship. Did you check the status page and changelog?

There are also several code examples and sample projects available for you to get started with.

Article not helpful?

Does this article need improvement? If so, please send feedback or submit a pull request!