From 5d1660567cc647b32ed5db21b49dfa3faede0b46 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Fri, 14 Apr 2017 14:54:47 -0400 Subject: [PATCH] rename the travis build scrit and update the new doc path --- .travis.yml | 2 +- _scripts/travis-build.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ae5ce54..8c5ef1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ env: - PHP_VERSION=71 - HUGO_VERSION=0.20 -script: ./scripts/build.sh +script: ./_scripts/travis-build.sh deploy: provider: pages diff --git a/_scripts/travis-build.sh b/_scripts/travis-build.sh index d66343e..fe9d4ab 100755 --- a/_scripts/travis-build.sh +++ b/_scripts/travis-build.sh @@ -1,11 +1,13 @@ #!/usr/bin/env bash +#### Build the Docker Images if [ -n "${PHP_VERSION}" ]; then cp env-example .env docker-compose build docker images fi +#### Generate the Laradock Documentation site using Hugo if [ -n "${HUGO_VERSION}" ]; then HUGO_PACKAGE=hugo_${HUGO_VERSION}_Linux-64bit HUGO_BIN=hugo_${HUGO_VERSION}_linux_amd64