From 27758c0f0a34c06596bb68141a5beea0dca31952 Mon Sep 17 00:00:00 2001 From: jubianchi Date: Sat, 20 Jan 2018 10:28:12 +0100 Subject: [PATCH] chore: Fix deploy script --- ci/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index 6f6b038..e8ddac5 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -4,8 +4,9 @@ export REPO=pmsipilot/docker-compose-viz export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi` git reset --hard +git clean -dfx composer install --no-dev --prefer-dist --classmap-authoritative -docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS +docker login -u $DOCKER_USER -p $DOCKER_PASS docker build -f Dockerfile -t $REPO:$TAG . docker push $REPO