remove cusom hugo_stats decoder, fixed theme.json update auto reload

This commit is contained in:
somrat sorkar
2023-09-02 09:40:53 +06:00
parent 59eef62fde
commit 77bc7eef2d
12 changed files with 19 additions and 37 deletions

View File

@@ -4,11 +4,11 @@ frontend:
preBuild:
commands:
- yum install -y curl
- curl -LO "https://github.com/gohugoio/hugo/releases/download/v0.115.4/hugo_extended_0.115.4_Linux-64bit.tar.gz"
- tar -xvf hugo_extended_0.115.4_Linux-64bit.tar.gz
- curl -LO "https://github.com/gohugoio/hugo/releases/download/v0.118.2/hugo_extended_0.118.2_Linux-64bit.tar.gz"
- tar -xvf hugo_extended_0.118.2_Linux-64bit.tar.gz
- mv hugo /usr/local/bin/
- rm hugo_extended_0.115.4_Linux-64bit.tar.gz
- echo "HUGO 0.115.4 INSTALLED"
- rm hugo_extended_0.118.2_Linux-64bit.tar.gz
- echo "HUGO 0.118.2 INSTALLED"
- curl -LO "https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz"
- tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
- export PATH=$PATH:/usr/local/go/bin