Skip to content

Instantly share code, notes, and snippets.

View jonathanhodges's full-sized avatar

Jonathan Hodges jonathanhodges

  • Classy Llama
  • Springfield, MO
View GitHub Profile
@jonathanhodges
jonathanhodges / sync_prod_to_stage.sh
Created November 11, 2022 23:31 — forked from erikhansen/sync_prod_to_stage.sh
Magento 2 script to push DB and `pub/media` changes from prod>stage
#!/bin/bash
# stop on errors
set -e
# turn on debugging if you're running into issues
#set -x
# Static variables
ENVIRONMENT=$1
RED='\033[0;31m'
NC='\033[0m' # No Color