UCDavisLibrary / main-wp-website-deployment

Deployment files and commands for library.ucdavis.edu
1 stars 1 forks source link

Set instance name as site tagline in init process #10

Closed spelkey-ucd closed 1 year ago

spelkey-ucd commented 2 years ago

Something like:

if [[ ! -z $INSTANCE_NAME ]]; then
mysql -e "update wp_options set option_value='${INSTANCE_NAME}' where option_name='blogdescription';"
fi