install hugo

This commit is contained in:
Ray Elliott 2020-03-20 14:36:53 +00:00
parent 17255dea08
commit 4be6fdc622
2 changed files with 9 additions and 0 deletions

View File

@ -3,3 +3,6 @@ export _user='ray'
export _node_version=v12.16.1
export _node_distro=linux-x64
export _hugo_version=0.67.1
export _hugo_distro=Linux-64

6
dev-setup/hugo.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
wget https://github.com/gohugoio/hugo/releases/download/v"$_hugo_version"/hugo_extended_"$_hugo_version"_"$_hugo_distro"bit.deb -O /tmp/hugo.deb
apt-get install /tmp/hugo.deb