1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Unshallow git repo before deploy

This commit is contained in:
Daniel Barber 2018-06-25 11:56:19 -04:00
parent a2992a1432
commit 6e21a7cb2a
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -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