This commit is contained in:
Ariejan de Vroom 2017-03-10 00:20:12 +01:00
parent fcd7a6f601
commit 97f45981b0
2 changed files with 3 additions and 3 deletions

View File

@ -9,5 +9,5 @@ set -e
if [ ! -e $CIRCLE_BUILD_DIR/bin/hugo ] || ! [[ `hugo version` =~ v${HUGO_VERSION} ]]; then
wget https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_DOWNLOAD}
tar xvzf ${HUGO_DOWNLOAD} -C $CIRCLE_BUILD_DIR/bin/
mv $CIRCLE_BUILD_DIR/bin/$HUGO_FILENAME $CIRCLE_BUILD_DIR/bin/hugo
ln -sf $CIRCLE_BUILD_DIR/bin/$HUGO_FILENAME/$HUGO_FILENAME $CIRCLE_BUILD_DIR/bin/hugo
fi

View File

@ -19,8 +19,8 @@ dependencies:
test:
override:
- bin/hugo version
- bin/hugo -v
- hugo version
- hugo -v
- yuicompressor public/css/outerspace.css -o public/css/outerspace-min.css
- cp public/css/outerspace-min.css public/css/outerspace.css