ilanvivanco/WordPress Deployment Action
Easily deploy code from GitHub to WordPress on Pressable or WP Engine using an SSH private key and the rsync command.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| SERVER_TYPE | The type of server to deploy to. So far, only Pressable ('preesable') and WP Engine ('wpengine') are supported | yes | — |
| SSH_PRIVATE_KEY | The private SSH key. You must save this in the GitHub Secrets and authorize it on Pressable or WP Engine. | yes | — |
| SERVER_ID | The SSH username for Pressable deployments or the install name for WP Engine deployments. | yes | — |
| REMOTE_PATH | The remote path on the server where files should be deployed. Defaults to the site root directory. | no | "" |
| SRC_PATH | Local path to the source files to deploy. Defaults to the repository root. | no | . |
| FLAGS | Rsync flags to control the behavior of file synchronization. | no | -azvrhi --inplace --exclude='.*' |
| PHP_LINT | Set to 'TRUE' to enable PHP linting before deployment. Defaults to 'FALSE'. | no | FALSE |
| CACHE_CLEAR | Set to 'TRUE' to clear cache after deployment. Defaults to 'FALSE'. | no | FALSE |
| SCRIPT | Custom script to run on the remote server after deployment. | no | "" |
Outputs
no outputs