My build failed with the following error message:
The program ‘hugo’ is currently not installed. To run ‘hugo’ please ask your administrator to install the package ‘hugo’
The command “hugo” exited with 127.
Done. Your build exited with 1.
However, hugo is already installed on my mac:
% which hugo /usr/local/bin/hugo % ls -l $( which hugo ) lrwxr-xr-x 1 /usr/local/bin/hugo -> ../Cellar/hugo/0.78.2/bin/hugo % hugo version Hugo Static Site Generator v0.78.2/extended darwin/amd64 BuildDate: unknown
language: go Install: - wget https://github.com/gohugoio/hugo/releases/download/v0.78.2/hugo_extended_0.78.2_macOS-64bit.tar.gz - tar -xf hugo_0.78.2_macOS-64bit.tar.gz # - hugo version # Clean before_script: - rm -rf public # Build the website script: - hugo branches: only: - master
Since I’m on a mac, don’t I select the macOS-64bit.tar.gz instead of Linux-64bit.deb?
Thank you for shedding some light…