forked from LiveCarta/LiveCartaWP
12 lines
559 B
Plaintext
12 lines
559 B
Plaintext
1 Backup all files
|
|
2 Backup Database
|
|
3 Download latest version of WP https://wordpress.org/latest.tar.gz
|
|
4 Go to WP document root e.g. /var/www/WordPress/htdocs
|
|
5 Delete the old wp-includes and wp-admin directories
|
|
6 Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory !!!
|
|
7 Copy all files from latest.tar.gz archive to WP document root. (overwrite all)
|
|
8 chown -R jenkins:jenkins /var/www/WordPress
|
|
9 chmod -R 664 /var/www/WordPress
|
|
10 Run Jenkins job to update all files from repository
|
|
|