diff --git a/.env b/.env new file mode 100644 index 00000000..0fb1f710 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +HUGO_VERSION=0.88.0 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6b992ecf..37223e29 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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 diff --git a/config.toml b/config.toml index 1a0c28ea..a436acbc 100644 --- a/config.toml +++ b/config.toml @@ -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"