mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-05 08:13:40 +00:00
Pin hugo version
This commit is contained in:
10
.github/workflows/gh-pages.yml
vendored
10
.github/workflows/gh-pages.yml
vendored
@@ -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
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user