Skip to content

Instantly share code, notes, and snippets.

bananana /
Last active Dec 18, 2019
Bash script to run automatic updates and backups using wp-cli
# Backup and update WordPress using wp-cli
# Set the -e shell option so the script exits immediately if any command within
# it exits with a non-zero status.
set -e
# Set PATH environment variable
You can’t perform that action at this time.