mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 13:44:41 -04:00
Update deployment-with-nanobox.md
When using nanobox for the first time I had an issue because the version in the install script was older and my site wouldn't compile.
This commit is contained in:
parent
c3cc9cd492
commit
4c2750bfb7
@ -115,8 +115,8 @@ Do this by adding a custom install script at the root of your project that will
|
||||
|
||||
if [[ ! -f /data/bin/hugo ]]; then
|
||||
cd /tmp
|
||||
wget https://github.com/gohugoio/hugo/releases/download/v0.25.1/hugo_0.25.1_Linux-64bit.tar.gz
|
||||
tar -xzf hugo_0.25.1_Linux-64bit.tar.gz
|
||||
wget https://github.com/gohugoio/hugo/releases/download/v0.31.1/hugo_0.31.1_Linux-64bit.tar.gz
|
||||
tar -xzf hugo_0.31.1_Linux-64bit.tar.gz
|
||||
mv hugo /data/bin/hugo
|
||||
cd -
|
||||
rm -rf /tmp/*
|
||||
@ -127,6 +127,9 @@ fi
|
||||
{{% note %}}
|
||||
If the install script fails during `nanobox run` you may need to make it executable with `chmod +x install.sh`
|
||||
{{% /note %}}
|
||||
{{% note %}}
|
||||
Make sure to check the version of Hugo you have installed and update the install script to match.
|
||||
{{% /note %}}
|
||||
|
||||
### Generating a New Hugo App
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user