Skip to content

Instantly share code, notes, and snippets.

@danharper83
danharper83 / snapshot.sh
Created August 29, 2017 09:56
Creates a snapshot on platform using platform commands
#!/usr/bin/env bash
ORIGIN="develop"
TARGET="master"
if [ "$PLATFORM_BRANCH" = "$ORIGIN" ]; then
/app/.platformsh/bin/platform self-update -y -q
/app/.platformsh/bin/platform backup -y -q -p $PLATFORM_PROJECT -e $TARGET
fi
@danharper83
danharper83 / gist:a8884133b1cc2759b7aa
Created October 25, 2015 16:33
Verifying that +danharper is my blockchain ID. https://onename.com/danharper
Verifying that +danharper is my blockchain ID. https://onename.com/danharper