Build script upgrades

This commit is contained in:
Kishan B 2018-05-12 13:04:15 +05:30
parent 1c456f84e2
commit 25fd8ea505
2 changed files with 6 additions and 7 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
public/
hugo-shopping-product-catalogue-simple
exampleSite/themes/

View File

@ -1,9 +1,8 @@
sudo: false
install:
- 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 -xzf tools/hugo.tar.gz
- mkdir tools && cd tools
- 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 -xzf hugo.tar.gz
script:
- cd exampleSite
- cp -r .. themes/
- hugo -v
- git clone --depth 1 https://github.com/kishaningithub/hugo-shopping-product-catalogue-simple.git exampleSite/themes/
- hugo -v --source exampleSite