Deploy newer version of Hugo / change env variables

0

Hi. I need to deploy a newer version of Hugo than what gets included (Hugo Static Site Generator v0.51 linux/amd64 BuildDate: 2018-11-07T10:10:13Z) during the Provision stage.

Is it possible to change / overwrite ENV VERSION_HUGO=0.51 set in the Provision stage?

Thanks.

daunce
asked 5 years ago186 views
1 Answer
0

I figured out how to do this. I changed the build settings to:

        - wget https://github.com/gohugoio/hugo/releases/download/v0.55.3/hugo_0.55.3_Linux-64bit.tar.gz 
        - tar -xf hugo_0.55.3_Linux-64bit.tar.gz
        - mv hugo /usr/bin/hugo 
        - rm -rf hugo_0.55.3_Linux-64bit.tar.gz
        - hugo version
        - hugo
daunce
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions