lib/ash/wordpress.rb in capistrano-ash-1.1.2 vs lib/ash/wordpress.rb in capistrano-ash-1.1.3
- old
+ new
@@ -58,10 +58,9 @@
desc "Links the correct settings file"
task :symlink do
run "ln -nfs #{shared_path}/uploads #{current_release}/#{uploads_path}"
run "ln -nfs #{shared_path}/cache #{current_release}/wp-content/cache"
run "ln -nfs #{latest_release}/wp-config.php.#{stage} #{latest_release}/wp-config.php"
- CMD
end
desc "Set URL in database"
task :updatedb do
run "mysql -u #{dbuser} -p #{dbpass} #{dbname} -e 'UPDATE #{dbprefix}options SET option_value = \"#{application}\" WHERE option_name = \"siteurl\" OR option_name = \"home\"'"
\ No newline at end of file