GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wpengine/site-deploy: Base image to build VCS integrations enabling customers to deploy their site to WP Engine

BranchesTags
Open more actions menu

Latest commit

 

History

78 Commits
78 Commits

Folders and files

NameName
Last commit message
Last commit date
.changeset
.changeset
 
 
.github
.github
 
 
tests
tests
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
DEVELOPMENT.md
DEVELOPMENT.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
entrypoint.sh
entrypoint.sh
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
sonar-project.properties
sonar-project.properties
 
 

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.

Warning

Since docker run does not strip double-quotes from variables in the .env file, we don't use them to wrap entire variable values. Instead, we must use single or double-quotes around flag values that contain whitespace to prevent splitting (--filter=':= .gitignore'). The = sign between the flag and its value is also required (--filter=':= .gitignore' rather than --filter ':= .gitignore').

# Required. The target WP Engine install name.
WPE_ENV=yourinstall
# Optional. Default values shown.
REMOTE_PATH=
SRC_PATH=.
CACHE_CLEAR=TRUE
SCRIPT=
FLAGS=-azvr --inplace --exclude='.*'
  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

Topics

rd

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

6 stars

Watchers

37 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.