File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,17 @@ jobs:
7575
7676 - name : Install WordPress
7777 run : |
78- cp wordpress/wp-config-sample.php wordpress/wp-config.php
79- wp config set DB_NAME "$WP_DB_NAME" --path=wordpress --allow-root
80- wp config set DB_USER "$WP_DB_USER" --path=wordpress --allow-root
81- wp config set DB_PASSWORD "$WP_DB_PASS" --path=wordpress --allow-root
82- wp config set DB_HOST "$WP_DB_HOST" --path=wordpress --allow-root
83- wp config set WP_DEBUG true --raw --path=wordpress --allow-root
84- wp config set WP_DEBUG_LOG true --raw --path=wordpress --allow-root
78+ wp config create \
79+ --dbname="$WP_DB_NAME" \
80+ --dbuser="$WP_DB_USER" \
81+ --dbpass="$WP_DB_PASS" \
82+ --dbhost="$WP_DB_HOST" \
83+ --path=wordpress \
84+ --skip-check \
85+ --extra-php <<PHP
86+ define( 'WP_DEBUG', true );
87+ define( 'WP_DEBUG_LOG', true );
88+ PHP
8589 wp core install \
8690 --url="${WP_SITE_URL}" \
8791 --title="Test Site" \
You can’t perform that action at this time.
0 commit comments