Upgrade version of hugo, and use new params shortcode
This commit is contained in:
parent
22a91dd434
commit
c8b4e7a661
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ jobs:
|
|||
command: git submodule sync && git submodule update --init
|
||||
- run:
|
||||
name: Install Hugo
|
||||
command: wget https://github.com/gohugoio/hugo/releases/download/v0.51/hugo_extended_0.51_Linux-64bit.deb -O /tmp/hugo.deb && sudo dpkg -i /tmp/hugo.deb
|
||||
command: wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_extended_0.52_Linux-64bit.deb -O /tmp/hugo.deb && sudo dpkg -i /tmp/hugo.deb
|
||||
- restore_cache:
|
||||
key: npm-{{ checksum "package-lock.json" }}
|
||||
- run:
|
||||
|
|
|
@ -28,4 +28,4 @@ $ yoga disable touch
|
|||
|
||||
Problem solved!
|
||||
|
||||
Whilst I've only tested this on my laptop, there's no reason it shouldn't work on others too! If it doesn't, submit an [issue](https://github.com/{{% pageparam "repo" %}}/issues/)!
|
||||
Whilst I've only tested this on my laptop, there's no reason it shouldn't work on others too! If it doesn't, submit an [issue](https://github.com/{{% param "repo" %}}/issues/)!
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
command = "./scripts/netlify.sh"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.51"
|
||||
HUGO_VERSION = "0.52"
|
||||
NODE_ENV = "production"
|
||||
NPM_CONFIG_PRODUCTION = "false"
|
||||
|
||||
|
|
Loading…
Reference in a new issue