Deploy your site with Git

Table Of Contents

Working with Git? Then you put your code on your plan with a git pull or push, without FTP.

Here's how #

  1. Log in via SSH (see "Log in with SSH and an SSH key").
  2. Go to your folder: cd domains/yourdomain.be/public_html
  3. Fetch your code: git clone https://… . (with the dot at the end) or git pull if the repository is already there.
  4. Using Composer? Run composer install --no-dev afterwards.

Never put secret files (such as .env) in your repository.

Stuck? Open a ticket, we're happy to help.

What are your feelings