Skip to content

Commit

Permalink
Merge pull request #5 from pmaas/master
Browse files Browse the repository at this point in the history
BUGFIX: Added VERSION option
  • Loading branch information
dimaip authored Sep 6, 2017
2 parents b0c6aa2 + b81a0b5 commit 4665f84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion root/etc/cont-init.d/10-init-neos
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ DB_HOST=${DB_HOST:="db"}
DB_USER=${DB_USER:="admin"}
DB_PASS=${DB_PASS:="pass"}
REPOSITORY_URL=${REPOSITORY_URL:=""}
VERSION=${VERSION:="master"}
BASE_URI=${BASE_URI:=${BASE_URI:=""}}

# Provision conainer at first run
Expand Down Expand Up @@ -54,7 +55,7 @@ else
# Needed to serve as a deployment target
###
cd /data/transfer
git clone $REPOSITORY_URL .
git clone -b $VERSION $REPOSITORY_URL .
composer install

rsync -a /data/transfer/ /data/releases/current/
Expand Down

0 comments on commit 4665f84

Please sign in to comment.