diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e526126..155bf0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ permissions: # Environment variables available to all jobs and steps in this workflow env: HUGO_ENV: production - HUGO_VERSION: "0.115.2" + HUGO_VERSION: "0.115.4" GO_VERSION: "1.20.5" NODE_VERSION: "18.15.0" TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56041e8..dfb1456 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ stages: variables: HUGO_ENV: production - HUGO_VERSION: "0.115.1" + HUGO_VERSION: "0.115.4" GO_VERSION: "1.20.5" NODE_VERSION: "18.16.1" @@ -33,7 +33,6 @@ pages: script: - npm run project-setup - npm run build - - echo "SITE BUILT SUCCESSFULLY! LIVE AT https://$GITLAB_USER_LOGIN.gitlab.io/$CI_PROJECT_NAME/" artifacts: paths: - public diff --git a/amplify.yml b/amplify.yml new file mode 100644 index 0000000..d6498c9 --- /dev/null +++ b/amplify.yml @@ -0,0 +1,29 @@ +version: 1 +frontend: + phases: + 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 + - mv hugo /usr/local/bin/ + - rm hugo_extended_0.115.4_Linux-64bit.tar.gz + - echo "HUGO 0.115.4 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 + - rm go1.20.5.linux-amd64.tar.gz + - echo "GO 1.20.5 INSTALLED" + - npm install + build: + commands: + - npm run project-setup + - npm run build + artifacts: + # IMPORTANT - Please verify your build output directory + baseDirectory: /public + files: + - "**/*" + cache: + paths: + - node_modules/**/* diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 9f7b6d2..43260bb 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -1,6 +1,9 @@ ######################## default configuration #################### +# The base URL of your site (required). This will be prepended to all relative URLs. baseURL = "https://hugoplate.netlify.app/" +# Title of your website (required). title = "Hugoplate" +# Your theme name # theme = "hugoplate" # Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List timeZone = "America/New_York" diff --git a/netlify.toml b/netlify.toml index f116ed9..94087fb 100755 --- a/netlify.toml +++ b/netlify.toml @@ -3,6 +3,5 @@ publish = "public" command = "yarn project-setup; yarn build" [build.environment] -HUGO_VERSION = "0.115.3" +HUGO_VERSION = "0.115.4" GO_VERSION = "1.20.5" -HUGO_BASEURL = "/" diff --git a/package.json b/package.json index 5806064..3f03cc2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.5.3", + "version": "1.6.0", "license": "MIT", "author": "zeon.studio", "scripts": { diff --git a/readme.md b/readme.md index 00d92b4..d634700 100755 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@
Hugoplate is a free starter template built with Hugo, and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time.
-Made with ♥ by Zeon Studio
+Made with ♥ by Zeon Studio