From 6e21a7cb2ad83baee11ecaa984d905e402c06a51 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Mon, 25 Jun 2018 11:56:19 -0400 Subject: [PATCH] Unshallow git repo before deploy --- bin/codeship_deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/codeship_deploy b/bin/codeship_deploy index 8f0d998..a0a9e91 100755 --- a/bin/codeship_deploy +++ b/bin/codeship_deploy @@ -2,5 +2,6 @@ ESCAPED_EMAIL="$(perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' $GIGALIXIR_EMAIL)" +git fetch --unshallow origin git remote add gigalixir https://$ESCAPED_EMAIL:$GIGALIXIR_API_KEY@git.gigalixir.com/$GIGALIXIR_APP_NAME.git git push -f gigalixir HEAD:refs/heads/master