install hugo
This commit is contained in:
parent
17255dea08
commit
4be6fdc622
|
@ -3,3 +3,6 @@ export _user='ray'
|
||||||
|
|
||||||
export _node_version=v12.16.1
|
export _node_version=v12.16.1
|
||||||
export _node_distro=linux-x64
|
export _node_distro=linux-x64
|
||||||
|
|
||||||
|
export _hugo_version=0.67.1
|
||||||
|
export _hugo_distro=Linux-64
|
||||||
|
|
|
@ -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
|
Reference in New Issue