fix wp password causing container deploy fail
This commit is contained in:
parent
8f0497844b
commit
5e96338ecb
|
@ -41,7 +41,7 @@ $_ssh_cmd_www "cd /var/www/html && wp core download --path=wordpress --skip-cont
|
||||||
|
|
||||||
printf "\nConfiguring WordPress ..."
|
printf "\nConfiguring WordPress ..."
|
||||||
$_ssh_cmd_root 'mkdir -p /var/www/.wp-cli/cache && chown -R www-data: /var/www/.wp-cli'
|
$_ssh_cmd_root 'mkdir -p /var/www/.wp-cli/cache && chown -R www-data: /var/www/.wp-cli'
|
||||||
$_ssh_cmd_www_cd "wp config create --dbname=wordpress --dbuser=wordpress --dbpass=$_wp_db_passwd"
|
$_ssh_cmd_www_cd "wp config create --dbname=wordpress --dbuser=wordpress --dbpass='$_wp_db_passwd'"
|
||||||
$_ssh_cmd_www 'sed -i "s/<?php$/<?php\n\ndefine( '\''WP_DEBUG'\'', true );\ndefine( '\''WP_DEBUG_LOG'\'', true );\n/" /var/www/html/wordpress/wp-config.php'
|
$_ssh_cmd_www 'sed -i "s/<?php$/<?php\n\ndefine( '\''WP_DEBUG'\'', true );\ndefine( '\''WP_DEBUG_LOG'\'', true );\n/" /var/www/html/wordpress/wp-config.php'
|
||||||
$_ssh_cmd_www_cd "wp core install --url=$_wp_url --title=\"$_wp_title\" --admin_user=$_wp_admin_user --admin_password=\"$_wp_password\" --admin_email=$_wp_email --skip-email"
|
$_ssh_cmd_www_cd "wp core install --url=$_wp_url --title=\"$_wp_title\" --admin_user=$_wp_admin_user --admin_password=\"$_wp_password\" --admin_email=$_wp_email --skip-email"
|
||||||
$_ssh_cmd_www_cd "wp rewrite structure /%postname%/"
|
$_ssh_cmd_www_cd "wp rewrite structure /%postname%/"
|
||||||
|
|
Loading…
Reference in New Issue