patronage / bubs-timber

Gulp + Timber + WP
Other
5 stars 1 forks source link

WP Engine Deploy action #111

Closed kylehotchkiss closed 4 years ago

kylehotchkiss commented 4 years ago

Uses Github Actions to deploy site to WP Engine. JS and SCSS are built using gulp, and everything deploys as it would if you ran sh _build/deploy.sh

In order to setup, a SSH key needs to be created and the private & public keys need to be set inside the Secrets section of Github's settings. They should be called WPENGINE_SSH_KEY_PUBLIC and WPENGINE_SSH_KEY_PRIVATE. The same public key in WPENGINE_SSH_KEY_PUBLIC needs to be set inside inside the WP Engine environment in order to deploy.

You'll also want to setup a Slack webhook URL and set it as the SLACK_WEBHOOK environment variable.

In one of our sites, changes are deployed to WP Engine in under 3 minutes.

ccorda commented 4 years ago

Can you update readme (and also update this page: https://github.com/patronage/bubs/wiki/Continuous-Deployment)

Then I think we can merge this.

kylehotchkiss commented 4 years ago

Readme added, and wiki doc updated. Merging.