Created
August 29, 2017 09:56
-
-
Save danharper83/b008acf99f88e09b9ac75397765534e3 to your computer and use it in GitHub Desktop.
Revisions
-
danharper83 created this gist
Aug 29, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/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