{"id":33472,"date":"2017-12-15T14:46:12","date_gmt":"2017-12-15T20:46:12","guid":{"rendered":"https:\/\/wpengine.com\/?post_type=support&#038;p=33472"},"modified":"2025-07-28T11:05:20","modified_gmt":"2025-07-28T17:05:20","slug":"continuous-integration-deploybot-wp-engine","status":"publish","type":"support","link":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/","title":{"rendered":"Continuous Integration with DeployBot"},"content":{"rendered":"\n<p><span style=\"font-weight: 400\">If your team is interested in using Continuous Integration (CI) or Continuous Deployment (CD) methods with WP Engine, <a href=\"https:\/\/deploybot.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">DeployBot<\/a> is one of the most useful tools available. In this CI\/CD pipeline, developers push changes to GitHub or Bitbucket. DeployBot detects changes and triggers a deploy of these changes to WP Engine. In the process you can also trigger build scripts for your CSS or JavaScript if needed.&nbsp;<\/span><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Initial Setup<\/h2>\n\n\n\n<p><span style=\"font-weight: 400\">When using DeployBot as a Continuous Integration tool with WP Engine, file changes made in GitHub or Bitbucket are deployed to WP Engine using SFTP. Before getting started, be sure you have created an <\/span><a href=\"https:\/\/wpengine.com\/support\/sftp\/\"><span style=\"font-weight: 400\">SFTP user on WP Engine<\/span><\/a><span style=\"font-weight: 400\"> with no directory restrictions.&nbsp;<\/span>To begin using CI\/CD methods with DeployBot, follow these simple steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400\">Log into <a href=\"https:\/\/deploybot.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">deploybot.com<\/a><\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400\">First, authorize your Github or Bitbucket account to connect your repository.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400\">Next, create an environment for your project.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400\">Under Servers &amp; Settings click \u201cAdd a server\u201d and choose \u201cSFTP\u201d under the server options<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400\">Next you will enter a name, as well as the SFTP login credentials for your site:<\/span>\n<ul class=\"wp-block-list\">\n<li><b>Host:<\/b><span style=\"font-weight: 400\"> This is the \u201cSFTP Address\u201d field from the SFTP page on WP Engine<\/span><\/li>\n\n\n\n<li><b>Port:<\/b><span style=\"font-weight: 400\"> 2222<\/span><\/li>\n\n\n\n<li><b>Destination path:<\/b><span style=\"font-weight: 400\"> If left blank this will be the root of your website. You can configure Deploybot to only deploy to a specific directory if you are working with multiple branches on the same site.<\/span><\/li>\n\n\n\n<li><b>Username:<\/b><span style=\"font-weight: 400\"> Same as Username shown in the SFTP user list on WP Engine<\/span><\/li>\n\n\n\n<li><b>Password:<\/b><span style=\"font-weight: 400\"> Same as Password set for the SFTP user on WP Engine&nbsp;<img loading=\"lazy\" decoding=\"async\" width=\"1954\" height=\"610\" class=\"alignnone size-full wp-image-33473\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2017\/12\/sftp_users_find_info.png\" alt=\"\"><\/span> <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><span style=\"font-weight: 400\">Last, choose whether deployments should be manual or automatic. This can be set or adjusted under General Settings.<\/span>\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400\">Automatic deployments happen whenever code is pushed to your remote repository on Github or Bitbucket<\/span> <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><b>Optional:<\/b><span style=\"font-weight: 400\"> If you are versioning files which should be built, compiled, or compressed (typically JS or CSS) it is best to <\/span><a href=\"http:\/\/support.deploybot.com\/article\/791-setting-up-and-using-build-tools\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"font-weight: 400\">build these files on the DeployBot server<\/span><\/a><span style=\"font-weight: 400\"> in the deployment process. <\/span>\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400\">In the \u201cCompile, compress, or minimize your code\u201d window ensure the default container is selected and enter your commands to compile your code.<\/span> <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><span style=\"font-weight: 400\">Save changes<\/span><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Test Setup<\/h2>\n\n\n\n<p><span style=\"font-weight: 400\">After the initial setup of your server, you can test your deployment server with DeployBot. To test, simply git push a code change (this can be something as minor as a space or comment). If your deployments are set to &#8220;Automatic&#8221; this will trigger DeployBot to deploy to your site using SFTP. If your deployments are set to &#8220;Manual,&#8221; you will also need to trigger your deploy after the git push.<\/span><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Caveats<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400\">Remember that you will only see record of your commits on Github or Bitbucket. This is&nbsp;because code changes are deployed via SFTP to WP Engine.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400\">If you have added or removed files on your site via SFTP and not Github or Bitbucket, these changes are not automatically synced to your remote repository. In cases where files need to be deleted, you should remove them via SFTP and then git push with the &#8211;force flag. <\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400\">If you are versioning files which have to be built (processed and\/or compressed) such as CSS or JS, the <\/span><a href=\"https:\/\/deploybot.com\/guides\/building-assets-with-grunt-or-gulp-during-deployment\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"font-weight: 400\">build process should happen on DeployBot servers<\/span><\/a><span style=\"font-weight: 400\"> as a general best practice. <\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400\">If your build scripts have specific dependencies, they should be ignored in the git push process using the .gitignore file.<\/span><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p><strong>NEXT STEP: <a href=\"https:\/\/wpengine.com\/support\/development-workflow-best-practices\/\">Best practices when developing with version control<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide explains how to configure and test DeployBot as a CI\/CD pipeline to deploy to WP Engine using GitHub or Bitbucket and SFTP. <\/p>\n","protected":false},"featured_media":126216,"template":"","support-categories":[3,6,21,77],"support-tag":[118,4],"class_list":["post-33472","support","type-support","status-publish","has-post-thumbnail","hentry","support-categories-development","support-categories-platform","support-categories-setup","support-categories-third-party","support-tag-continuous-integration","support-tag-git"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Continuous Integration with DeployBot - Support Center<\/title>\n<meta name=\"description\" content=\"This guide explains how to configure and test DeployBot as a CI\/CD pipeline to deploy to WP Engine using GitHub or Bitbucket and SFTP.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Continuous Integration with DeployBot - Support Center\" \/>\n<meta property=\"og:description\" content=\"This guide explains how to configure and test DeployBot as a CI\/CD pipeline to deploy to WP Engine using GitHub or Bitbucket and SFTP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-28T17:05:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/\",\"url\":\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/\",\"name\":\"Continuous Integration with DeployBot - Support Center\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png\",\"datePublished\":\"2017-12-15T20:46:12+00:00\",\"dateModified\":\"2025-07-28T17:05:20+00:00\",\"description\":\"This guide explains how to configure and test DeployBot as a CI\/CD pipeline to deploy to WP Engine using GitHub or Bitbucket and SFTP.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#primaryimage\",\"url\":\"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png\",\"contentUrl\":\"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png\",\"width\":1200,\"height\":630,\"caption\":\"WP Engine\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Support Posts\",\"item\":\"https:\/\/wpengine.com\/support\/support\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Continuous Integration with DeployBot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/support\/#website\",\"url\":\"https:\/\/wpengine.com\/support\/\",\"name\":\"Support Center\",\"description\":\"WP Engine&#039;s Support Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Continuous Integration with DeployBot - Support Center","description":"This guide explains how to configure and test DeployBot as a CI\/CD pipeline to deploy to WP Engine using GitHub or Bitbucket and SFTP.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/","og_locale":"en_US","og_type":"article","og_title":"Continuous Integration with DeployBot - Support Center","og_description":"This guide explains how to configure and test DeployBot as a CI\/CD pipeline to deploy to WP Engine using GitHub or Bitbucket and SFTP.","og_url":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/","og_site_name":"Support Center","article_modified_time":"2025-07-28T17:05:20+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/","url":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/","name":"Continuous Integration with DeployBot - Support Center","isPartOf":{"@id":"https:\/\/wpengine.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#primaryimage"},"image":{"@id":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#primaryimage"},"thumbnailUrl":"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png","datePublished":"2017-12-15T20:46:12+00:00","dateModified":"2025-07-28T17:05:20+00:00","description":"This guide explains how to configure and test DeployBot as a CI\/CD pipeline to deploy to WP Engine using GitHub or Bitbucket and SFTP.","breadcrumb":{"@id":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#primaryimage","url":"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png","contentUrl":"https:\/\/wpengine.com\/support\/wp-content\/uploads\/2019\/12\/wp-engine-featured-image.png","width":1200,"height":630,"caption":"WP Engine"},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/support\/continuous-integration-deploybot-wp-engine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/support\/"},{"@type":"ListItem","position":2,"name":"Support Posts","item":"https:\/\/wpengine.com\/support\/support\/"},{"@type":"ListItem","position":3,"name":"Continuous Integration with DeployBot"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/support\/#website","url":"https:\/\/wpengine.com\/support\/","name":"Support Center","description":"WP Engine&#039;s Support Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/wpengine.com\/support\/wp-json\/wp\/v2\/support\/33472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/support\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/wpengine.com\/support\/wp-json\/wp\/v2\/types\/support"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/support\/wp-json\/wp\/v2\/media\/126216"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/support\/wp-json\/wp\/v2\/media?parent=33472"}],"wp:term":[{"taxonomy":"support-categories","embeddable":true,"href":"https:\/\/wpengine.com\/support\/wp-json\/wp\/v2\/support-categories?post=33472"},{"taxonomy":"support-tag","embeddable":true,"href":"https:\/\/wpengine.com\/support\/wp-json\/wp\/v2\/support-tag?post=33472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}