update hugo version

This commit is contained in:
Somrat 2024-09-25 11:58:24 +06:00
parent 3334b7bc9b
commit 65ea3ca8db
7 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@ permissions:
# Environment variables available to all jobs and steps in this workflow # Environment variables available to all jobs and steps in this workflow
env: env:
HUGO_ENV: production HUGO_ENV: production
HUGO_VERSION: "0.124.1" HUGO_VERSION: "0.134.3"
GO_VERSION: "1.22.2" GO_VERSION: "1.22.2"
NODE_VERSION: "20.0.0" NODE_VERSION: "20.0.0"
TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }} TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }}

View File

@ -3,7 +3,7 @@ stages:
variables: variables:
HUGO_ENV: production HUGO_ENV: production
HUGO_VERSION: "0.124.1" HUGO_VERSION: "0.134.3"
GO_VERSION: "1.22.2" GO_VERSION: "1.22.2"
NODE_VERSION: "18.16.1" NODE_VERSION: "18.16.1"

View File

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

View File

@ -1,6 +1,6 @@
[hugoVersion] [hugoVersion]
extended = true extended = true
min = "0.124.1" min = "0.134.3"
[[imports]] [[imports]]
path = "github.com/zeon-studio/hugoplate" path = "github.com/zeon-studio/hugoplate"

View File

@ -3,5 +3,5 @@ publish = "public"
command = "yarn project-setup; yarn build" command = "yarn project-setup; yarn build"
[build.environment] [build.environment]
HUGO_VERSION = "0.124.1" HUGO_VERSION = "0.134.3"
GO_VERSION = "1.22.2" GO_VERSION = "1.22.2"

View File

@ -4,7 +4,7 @@ licenselink = "https://github.com/zeon-studio/hugoplate/blob/main/LICENSE"
description = "Hugoplate is a free starter template built with Hugo, and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time." description = "Hugoplate is a free starter template built with Hugo, and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time."
homepage = "https://github.com/zeon-studio/hugoplate" homepage = "https://github.com/zeon-studio/hugoplate"
demosite = "https://zeon.studio/preview?project=hugoplate" demosite = "https://zeon.studio/preview?project=hugoplate"
min_version = "0.124.1" min_version = "0.134.3"
tags = [ tags = [
"blog", "blog",

View File

@ -3,7 +3,7 @@
# default versions # default versions
NODE_VERSION='18.16.1'; NODE_VERSION='18.16.1';
GO_VERSION='1.22.2'; GO_VERSION='1.22.2';
HUGO_VERSION='0.124.1'; HUGO_VERSION='0.134.3';
# install Node.js # install Node.js
# echo "Installing Node.js $NODE_VERSION..." # echo "Installing Node.js $NODE_VERSION..."