Pin hugo version

This commit is contained in:
Dave Gallant
2021-09-05 23:23:55 -04:00
parent 6b5bd7047f
commit 558d9d2732
3 changed files with 10 additions and 3 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
HUGO_VERSION=0.88.0

View File

@@ -15,11 +15,17 @@ jobs:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Read .env
id: hugo-version
run: |
. ./.env
echo "::set-output name=HUGO_VERSION::${HUGO_VERSION}"
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
hugo-version: '${{ steps.hugo-version.outputs.HUGO_VERSION }}'
extended: true
- name: Build
run: hugo --minify

View File

@@ -1,6 +1,6 @@
baseurl = "/"
languageCode = "en-us"
title = "davegallant.github.io - tech micro-blog"
title = "davegallant.github.io - blog"
theme = "xmin"
googleAnalytics = "UA-98710982-2"
disqusShortname = "https-davegallant-github-io"