I’m trying to understand how to use distillery and edeliver, and after reading several howtos, I settled on following this one:
Deploy Early and Often: Deploying Phoenix with Edeliver and Distillery (Part Two)
After:
mix edeliver build release production --verbose
I get the following error:
BUILDING RELEASE OF MYAPP APP ON BUILD HOST
-----> Authorizing hosts
Authorizing localhost on localhost:
-----> Ensuring hosts are ready to accept git pushes
A remote command failed on:
user@localhost
Output of the command is shown above and the command executed
on that host is printed below for debugging purposes:
FAILED with exit status 255:
set -e
if [ ! -d /tmp/edeliver/myapp/builds ]
then
mkdir -p /tmp/edeliver/myapp/builds
cd /tmp/edeliver/myapp/builds
git init
git config receive.denyCurrentBranch ignore
else
cd /tmp/edeliver/myapp/builds
git config receive.denyCurrentBranch ignore
fi
Can anyone give any advice on how to fix this - what I’m doing wrong?
Thanks