Skip to content

Base image to build VCS integrations enabling customers to deploy their site to WP Engine

License

Notifications You must be signed in to change notification settings

TheCodeCompany/site-deploy

This branch is 15 commits behind wpengine/site-deploy:main.

Folders and files

NameName
Last commit message
Last commit date
Oct 25, 2023
May 30, 2023
May 30, 2023
Jul 12, 2023
Dec 1, 2022
Dec 1, 2022
Oct 25, 2023
Nov 22, 2022
Dec 1, 2022
Oct 24, 2023
Nov 22, 2022
Nov 22, 2022
Dec 15, 2022
Nov 22, 2022
Dec 15, 2022
Nov 22, 2022
Jul 12, 2023
Oct 25, 2023
Dec 20, 2022

Repository files navigation

wpengine/site-deploy

Base image to build VCS integrations enabling customers to deploy their site to WP Engine

How to Build

You can build and version this image using make targets.

make build       # Builds the image locally
make version     # Builds the image and creates version tags
make list-images # Shows all tagged versions of the image
make clean       # Deletes all tagged versions of the image

How to Run

You can use this image to deploy a site from your local machine.

  1. Build the wpengine/site-deploy:latest image with make build.
  2. Change directories into the root of the local site you'd like to deploy.
  3. Create a .env file with the following variables, changing their values as needed.
WPE_ENV=yourinstall # The target WP Engine install name.
REMOTE_PATH=
SRC_PATH=.
PHP_LINT=TRUE
CACHE_CLEAR=TRUE
SCRIPT=
  1. Set an environment variable with your private SSH key, replacing the key file name with your own.
export WPE_SSHG_KEY_PRIVATE=`cat ~/.ssh/my_sshg_key_rsa`
  1. Run the deploy!
 docker run --rm \
    -e "WPE_SSHG_KEY_PRIVATE" \
    --env-file ./.env \
    -v $(pwd):/site \
    --workdir=/site \
    wpengine/site-deploy:latest

About

Base image to build VCS integrations enabling customers to deploy their site to WP Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 83.4%
  • Makefile 8.7%
  • PHP 5.0%
  • Dockerfile 2.9%