Skip to content

Instantly share code, notes, and snippets.

View jamesfacts's full-sized avatar

James White jamesfacts

View GitHub Profile
@jamesfacts
jamesfacts / 1_env_setup.bash
Last active September 26, 2017 22:09
Codeship CI script for Sage + WPE, with hashed Blade templates
# ssh git@git.wpengine.com info
# get around restriction on shallow pushes by WP Engine
git filter-branch -- --all
git checkout master
git config --global user.name "${CI_COMMITTER_NAME}"
git config --global user.email "${CI_COMMITTER_EMAIL}"
# Combine remote git servers
git remote add servers $WPE_SERVERS
@jamesfacts
jamesfacts / 1-setup.bash
Created May 4, 2017 23:06
Deploy scripts for Sage + WPEngine through Codeship Raw
# Setup
# Get around restriction on shallow pushes by WP Engine
git filter-branch -- --all
git checkout staging [OR ANY OTHER BRANCH]
# Add User Data
git config --global user.name "codeship-username"
git config --global user.email "git@github.com"