Enabled extensions to Hugo
This commit is contained in:
parent
76339b1015
commit
b20f02b9e2
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.24
|
go-version: 1.25
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika"
|
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
|
go-version: 1.24
|
||||||
- name: Install Hugo
|
- name: Install Hugo
|
||||||
run: |
|
run: |
|
||||||
go install github.com/gohugoio/hugo@v0.146.0
|
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo
|
||||||
- name: Build Site
|
- name: Build Site
|
||||||
run: |
|
run: |
|
||||||
cd _site
|
cd _site
|
||||||
mkdir -p themes
|
mkdir -p themes
|
||||||
git clone https://github.com/alex-shpak/hugo-book.git themes/hugo-book
|
git clone https://github.com/alex-shpak/hugo-book.git themes/hugo-book
|
||||||
npm install
|
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 }}
|
||||||
|
|
@ -23,9 +23,9 @@ nfpms:
|
||||||
builds:
|
builds:
|
||||||
- dynamo-browse
|
- dynamo-browse
|
||||||
vendor: lmika
|
vendor: lmika
|
||||||
homepage: https://audax.tools/
|
homepage: https://dynamo-browse.lmika.dev/
|
||||||
maintainer: Leon Mika <lmika@lmika.org>
|
maintainer: Leon Mika <lmika@lmika.org>
|
||||||
description: TUI tools for AWS administration
|
description: TUI tools for working with DynamoDB
|
||||||
license: MIT
|
license: MIT
|
||||||
formats:
|
formats:
|
||||||
- deb
|
- deb
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,8 @@ brews:
|
||||||
name: homebrew-audax
|
name: homebrew-audax
|
||||||
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"
|
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"
|
||||||
folder: Formula
|
folder: Formula
|
||||||
homepage: https://dynamobrowse.app/
|
homepage: https://dynamo-browse.lmika.dev/
|
||||||
description: TUI tools for AWS administration
|
description: TUI tools for working with DynamoDB
|
||||||
license: MIT
|
license: MIT
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums-macos.txt'
|
name_template: 'checksums-macos.txt'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue