rename the travis build scrit and update the new doc path

This commit is contained in:
Mahmoud Zalt 2017-04-14 14:54:47 -04:00
parent 57ee5d96a4
commit 5d1660567c
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ env:
- PHP_VERSION=71
- HUGO_VERSION=0.20
script: ./scripts/build.sh
script: ./_scripts/travis-build.sh
deploy:
provider: pages

View File

@ -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