Build script upgrades

This commit is contained in:
Kishan B 2018-05-12 13:24:22 +05:30
parent a369f5f600
commit 63e122945c
1 changed files with 4 additions and 7 deletions

View File

@ -4,14 +4,11 @@ addons:
packages:
- tree
install:
- mkdir tools && cd tools
- pwd
- wget -q "https://github.com/gohugoio/hugo/releases/download/v0.40.2/hugo_0.40.2_Linux-64bit.tar.gz" -O "hugo.tar.gz"
- tar -xvzf hugo.tar.gz
- cd ..
- mkdir tools
- wget -q "https://github.com/gohugoio/hugo/releases/download/v0.40.2/hugo_0.40.2_Linux-64bit.tar.gz" -O "tools/hugo.tar.gz"
- tar -xvzf tools/hugo.tar.gz -C tools
script:
- tree -a
- git clone --depth 1 https://github.com/kishaningithub/hugo-shopping-product-catalogue-simple.git exampleSite/themes/
- ls tools
- tree -a
- ./tools/hugo -v --source exampleSite