Skip to content

Deploy Bedrock/Sage based Wordpress project to a shared hosting using Gitlab's CI.

License

Notifications You must be signed in to change notification settings

trainoasis/deploy-wp-bedrock-sage-gitlab-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Deploy Bedrock/Sage based Wordpress project to a shared hosting (or any other that you have ssh access to) using Gitlab's CI.

How to use?

  1. Add SSH_PRIVATE_KEY variable in Gitlab's settings and make sure it works (connecting to the server without password).
  2. edit variables on top of the .gitlab-ci.yml
  3. edit branches to run deployments on ("only:" sections in .gitlab-ci.yml)
  4. make sure you have Runners set up in gitlab
  5. commit & push both files (in root of your project) and watch the script work.

Understanding the deploy.sh script

For more info about the deploy script, check the script README in this repo (which is a repo for the script if you wish to deploy manually): https://github.com/trainoasis/wp-bedrock-sage-bash-deploy

Want to build & deploy manually from your local machine rather?

See https://github.com/trainoasis/wp-bedrock-sage-bash-deploy

Use at your own risk.

In general:

  • Always backup 1st
  • Always understand what you are about to do
  • Enjoy

About

Deploy Bedrock/Sage based Wordpress project to a shared hosting using Gitlab's CI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages