webshr/Deploy WordPress Project with LFTP
Deploy your WordPress plugin & theme with LFTP using GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Set mode (`zip`, `file` or `dir`) | yes | file |
| hostname | FTP Hostname | yes | — |
| port | FTP Port | no | 21 |
| username | FTP Username | yes | — |
| password | FTP Password | no | — |
| protocol | FTP Protocol (FTP, FTPS, HTTPS or SFTP) | no | ftp |
| ssl-auth | SSL Authentication | no | false |
| ssl-force | Force SSL | no | false |
| ssl-protect-data | Protect data with SSL | no | false |
| ssl-key-file | SSL Key File | no | false |
| ssl-verify-cert | Verify SSL certificate | no | false |
| ssl-check-host | Check SSL Hostname | no | false |
| sftp-connect-program | SFTP Connect Program | no | ssh -a -x |
| file-name | Name of the target file | no | .distignore |
| archive-name | Name of the target archive | no | theme |
| source-dir | Path to the local directory (src) | no | ./ |
| target-dir | Path to the remote directory (dest) | no | / |
| debug | Enable debug mode | no | false |
| options | Additional options for LFTP | no | — |
| chmod | Set permissions for the deployed files | no | false |
| ignore-file | Automatically exclude files/directories from an ignore file (e.g. .ftpignore) | no | — |
| excludes | Exclude files/directories from deployment | no | — |
| includes | Include files/directories in deployment | no | — |
| only-newer | Upload only newer files | no | true |
| clean-dir | Clean the remote directory before deploying | no | false |
| auto-confirm | Auto-confirm all SSH questions | no | true |
| max-retries | Maximum number of retries | no | 3 |
| pre-commands | Commands to run before deploying | no | "" |
| post-commands | Commands to run after deploying | no | "" |
Outputs
no outputs