holyhope/Install WordPress

Install WordPress locally using WP-CLI.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 8, 2024
License
MPL 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: holyhope/install-wordpress-github-action@5f45cb7b8009095cbf2dc56623bf74680353d9f0 # v2.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
wordpress_versionSelect which version you want to download. Accepts a version number, 'latest' or 'nightly'.nolatest
wordpress_titleThe title of the new site.noWordPress
wordpress_localeThe locale/language for the installation (e.g. `de_DE`).noen_US
php_versionPHP versionno8.2
php_extensionsPHP extensions to install. Each extension should be on a new line.noimagick
installation_pathWordPress Installation pathno${{ runner.temp }}/wordpress
github_tokenGitHub tokenyes${{ github.token }}
wp_cli_pathPath to the WP-CLI binary. To use a custom version of WP-CLI, see the [`install-wp-cli` GitHub action](https://github.com/marketplace/actions/install-wp-cli) Default: Downloaded from the official WP-CLI website.no
namedescription
versionWordPress version
pathPath to WordPress installation
plugins_pathPath to WordPress plugins
themes_pathPath to WordPress themes
admin_usernameWordPress admin username
admin_passwordWordPress admin password
db_nameWordPress database name
db_userWordPress database user
db_passWordPress database password
db_hostWordPress database host
db_portWordPress database port
wp_cliPath to WP-CLI binary