Skip to content

Commit

Permalink
auto-deploy to production
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Sep 26, 2018
1 parent 1ced6b8 commit 32a6b3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ after_success:
export GIT_TAG=$(git describe --tags $(git rev-list --tags --max-count=1));
git clone "https://${TRAVIS_SECURE_TOKEN}@github.com/datacite/mastino.git";
./dockerize -template vendor/docker/_lupo.auto.tfvars.tmpl:mastino/stage/services/client-api/_lupo.auto.tfvars;

if [ "${TRAVIS_TAG?}" ]; then
./dockerize -template vendor/docker/_lupo.auto.tfvars.tmpl:mastino/prod-eu-west/services/client-api/_lupo.auto.tfvars;
fi

cd mastino;
git remote;
git config user.email ${DOCKER_EMAIL};
Expand Down

0 comments on commit 32a6b3b

Please sign in to comment.