mrtrilb/WordPress Plugin/Theme Deployment Action
Deploy WordPress plugins or themes from GitHub to a server using SSH and rsync
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| SSH_PRIVATE_KEY | The private SSH key for server access | yes | — |
| SERVER_HOST | The SSH host of the server | yes | — |
| SERVER_USER | The SSH username | yes | — |
| REMOTE_PATH | The remote path on the server where files should be deployed (e.g., wp-content/plugins/my-plugin) | yes | — |
| REF | The git reference (branch, tag, or commit SHA) to deploy from. Modify the checkout step in your workflow to use this ref. | — | "" |
| SRC_PATH | Local path to the source files for deployment | — | . |
| FLAGS | Rsync flags | — | -azvrhi --inplace --exclude=.* |
| PHP_LINT | Enable PHP linting | — | false |
| CACHE_CLEAR | Clear WordPress cache after deployment | — | false |
| SCRIPT | Post-deploy script to run on the server | — | "" |
Outputs
no outputs