Fetch/update website/presentations before website build

This commit is contained in:
proller 2017-08-30 23:23:19 +03:00 committed by alexey-milovidov
parent 9caf6da5ca
commit 7b8ab787ce

View File

@ -14,6 +14,8 @@ REMOTE_NAME="registry.yandex.net/${FULL_NAME}"
DOCKER_HASH="$2"
if [[ -z "$1" ]]
then
git clone https://github.com/yandex/clickhouse-presentations.git presentations || true
git --work-tree=$(readlink -f presentations) --git-dir=$(readlink -f presentations)/.git pull
gulp clean
gulp build
docker build -t "${FULL_NAME}" "${BASE_DIR}"