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

Add Codeship deploy script

This commit is contained in:
Daniel Barber 2018-03-02 15:26:53 -05:00
parent dcff5712b8
commit 4340d0e5bf
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

6
bin/codeship_deploy Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
ESCAPED_EMAIL="$(perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' $GIGALIXIR_EMAIL)"
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