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/ public/
hugo-shopping-product-catalogue-simple exampleSite/themes/

View File

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