close

Slick­Stack

March 2025 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

ss push staging

Runs the associated bash script to push all content and database from the staging site (staging.example.com) to the production site. Keep in mind that SlickStack shares the same /uploads/ folder between production and staging sites to save disk space and improve efficiency, so when you “push” the staging site live, it will skip syncing that folder because it already exists in production. Any media files you may have uploaded to staging (bad idea btw) will still be added to that directory on the server, and during database sync, those files should also show up in the production site too because the WordPress database can now “recognize” and register them as media files in the MySQL database.

Also note that nothing will be deleted during the push. So if you have deleted some database tables or files in staging, those might still exist after syncing to production because nothing is deleted before/during the push process to avoid data loss.

Routine:

  1. Runs the ss-push-staging bash script
About the Author

Jesse Nickles

Jesse is the lead developer for the SlickStack project and also for HoverCraft, the accompanying free WordPress theme. He has been customizing WordPress for both personal websites and SEO clients for over 15+ years, with a focus on simplicity and longevity.

Leave a Reply

Your email address will not be published. Required fields are marked *

Thanks to our generous sponsors for their support!