Tutorials UPDATED: 29 October 2021

How to use Git with your Pressidium website

Yorgos Fountis

5 min read
Image for How to use Git with your Pressidium website

In this article we will be discussing how you can integrate a Git repository (or a repository from a different version control system) with your Pressidium website by using an external service such as deployHQ or DeployBot (or any other similar one). We will be using deployHQ as an example (its super easy and has a free tier as well), but the steps needed are similar when using other services as well. Although we will be using GitHub due to its wide use and popularity, the configuration steps are pretty much the same for other version control systems.

Getting Started with Git

First, login to www.deployhq.com. Below is  the first screen that you will encounter.

Click on the Create a new Project button to begin.


Create a New Project

  1. Type the name of your project.
  2. Select where your repository is hosted. For this example we will use GitHub.
  3. Press the Create Project button.

Authorise your repository host

After you created your project,  you will be asked to give authorisation to DeployHQ to access your repository. This is needed for all that magical integration to occur. Proceed by clicking the Authorize application button.


Select your repository

You will then be presented with a list of repositories to choose from (we’ve created one for this example). Click on the repository you want to link to your project.


Add your Pressidium website

After you select your repository, the time has come to link your Pressidium website!

1. Enter the name of your website. This is  just a descriptive name.

2. Select SSH/SFTP in the protocol drop down list.


3. Enter your Pressidium website’s SFTP server name as it is indicated in the Pressidium Portal Websites Overview tab. It should be in the form of  sftp.yourwebsitename.onpressidium.com.

4. Enter the SFTP port as indicated in your Portal account.

5. Enter the username, as indicated in your Portal account.


7. Enter the deployment path.

The deployment path is equivalent to your website’s webroot folder. Files in your repository will be deployed under this path. However, it depends on what you want to deploy.

Host your website with Pressidium



For example if you are developing plugins, your deployment path should include /wp-content/plugins. Alternatively, if you are developing a theme, it’s /wp-content/themes.

In order to figure out what the full path is, you will first need to  connect to your website using SFTP.


In this case, the full deployment path for plugins is : /acme_shop_2-www/wp-content/plugins
while for themes it’s /acme_shop_2-www/wp-content/themes.  

8. Click the Save button.


Deploying files

After you click the Save button, and all the information you entered was correct, you will be presented with the following page.

Click the Deploy Now button, to start the deployment of your repository files to your Pressidium website.


From the following page you can choose the Server and branch that you want to deploy. You can even choose different commits (by clicking on the grey change link button).


Scroll further down, and press Deploy to begin the process. You can schedule it in the future if you’d like, but there’s no time like the present, as they say.


If all went well you will be presented with the following reassuring screen, detailing everything that happened.


Additional tools and services

DeployHQ and Git certainly isn’t the end-all-be-all. There are numerous other tools and services out there that might be better suited for your needs or preferences. Let’s list some of them:

  • DeployBot
    Although it doesn’t offer a free tier, its certainly one of the most popular solutions out there. It supports Amazon web services, FTP/SFTP, Heroku, and even Shopify for deployment targets!
  • Beanstalk
    It offers Git and SVN hosting on their own data centers, multiple deployment environments, code reviews, and much more.
  • Ftploy
    Supports GitHub and BitBucket, and has a free tier!
  • Jenkins.io
    Possibly one of the leading automated deployment solutions out there. Jenkins can also function as a CI or CD server, supports plugins, and can be configured to operate in a distributed architecture. However you need to install and configure it on your servers by yourself!

Wrapping up

Setting up a version control system to work with your Pressidium website through SFTP is straightforward. No matter the service, or repository you choose, its just a matter of entering the correct SFTP configuration details and then authorising the service to access your repository. As always, If you have any questions or in  need of help because something broke, don’t hesitate to contact our support! We will be delving more into developer-centric topics in the near future, including the WordPress development environment itself. So start sharpening your dev tools!

Host your WordPress Website with Pressidium!

View our price plans

Host your website with Pressidium



Do you like this article?

Subscribe to our blog and get awesome WordPress content straight to your inbox.



5 Tips to Help You Choose the Right Domain Name for Your WordPress Site

Choosing the right domain name for your WordPress website is super important. Check out our top tips to help you get it right!
Austin Andrukaitis
Austin Andrukaitis
7 min read

What to Include in Your WordPress Privacy Policy

Stumped on what to put in your WordPress privacy policy? This guide details everything you need, including key laws to follow.
Jessica Day
Jessica Day
10 min read

Top 5 Capabilities of WordPress Full Site Editing That Impressed Us

This guide will teach you all about the top five capabilities of WordPress Full Site Editing that will help you build & customize your website!
Grace Lau
Grace Lau
9 min read

Two Factor Authentication and WordPress

WordPress Two Factor Authentication - what is it and how do you enable it on your website? Find out in this article!
Tassos Antoniou
Tassos Antoniou
6 min read