Skip to content

Instantly share code, notes, and snippets.

Pavel Mamontov bananana

Block or report user

Report or block bananana

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bananana
bananana / wp-update.sh
Last active Aug 17, 2019
Bash script to run automatic updates and backups using wp-cli
View wp-update.sh
#!/bin/bash
#
# 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.