Enabled extensions to Hugo
Some checks failed
ci / Site (push) Failing after 11s
ci / Build (push) Successful in 3m52s

This commit is contained in:
Leon Mika 2025-10-26 09:52:49 +11:00
parent 76339b1015
commit b20f02b9e2
3 changed files with 32 additions and 7 deletions

View file

@ -25,7 +25,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.24
go-version: 1.25
- name: Configure
run: |
git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika"
@ -50,11 +50,36 @@ jobs:
go-version: 1.24
- name: Install Hugo
run: |
go install github.com/gohugoio/hugo@v0.146.0
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo
- name: Build Site
run: |
cd _site
mkdir -p themes
git clone https://github.com/alex-shpak/hugo-book.git themes/hugo-book
npm install
hugo --minify
hugo --minify
# 'Release MacOS':
# needs: build
# runs-on: macos
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Setup Go
# uses: actions/setup-go@v3
# with:
# go-version: 1.25
# - name: Configure
# run: |
# git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika"
# - name: Setup Goreleaser
# run: |
# brew install goreleaser/tap/goreleaser
# brew install goreleaser
# - name: Release
# # if: startsWith(github.ref, 'refs/tags/')
# run: |
# goreleaser release -f macos.goreleaser.yml --skip=validate --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# HOMEBREW_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}

View file

@ -23,9 +23,9 @@ nfpms:
builds:
- dynamo-browse
vendor: lmika
homepage: https://audax.tools/
homepage: https://dynamo-browse.lmika.dev/
maintainer: Leon Mika <lmika@lmika.org>
description: TUI tools for AWS administration
description: TUI tools for working with DynamoDB
license: MIT
formats:
- deb

View file

@ -22,8 +22,8 @@ brews:
name: homebrew-audax
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"
folder: Formula
homepage: https://dynamobrowse.app/
description: TUI tools for AWS administration
homepage: https://dynamo-browse.lmika.dev/
description: TUI tools for working with DynamoDB
license: MIT
checksum:
name_template: 'checksums-macos.txt'