From 652923712c7274f132ef7ebe512ee31e6af67069 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 16 Dec 2025 20:25:22 +0000 Subject: [PATCH] tpl: detect license in CI builds --- templates/academic-cv/.github/workflows/deploy.yml | 1 + templates/blog/.github/workflows/deploy.yml | 1 + templates/documentation/.github/workflows/deploy.yml | 1 + templates/landing-page/.github/workflows/deploy.yml | 1 + templates/link-in-bio/.github/workflows/deploy.yml | 1 + templates/resume/.github/workflows/deploy.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/templates/academic-cv/.github/workflows/deploy.yml b/templates/academic-cv/.github/workflows/deploy.yml index 7221e659..afb7fe96 100644 --- a/templates/academic-cv/.github/workflows/deploy.yml +++ b/templates/academic-cv/.github/workflows/deploy.yml @@ -89,6 +89,7 @@ jobs: - name: Build with Hugo env: HUGO_ENVIRONMENT: production + HUGO_BLOX_LICENSE: ${{ secrets.HUGO_BLOX_LICENSE }} run: | echo "Hugo Cache Dir: $(hugo config | grep cachedir)" hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" diff --git a/templates/blog/.github/workflows/deploy.yml b/templates/blog/.github/workflows/deploy.yml index 7221e659..afb7fe96 100644 --- a/templates/blog/.github/workflows/deploy.yml +++ b/templates/blog/.github/workflows/deploy.yml @@ -89,6 +89,7 @@ jobs: - name: Build with Hugo env: HUGO_ENVIRONMENT: production + HUGO_BLOX_LICENSE: ${{ secrets.HUGO_BLOX_LICENSE }} run: | echo "Hugo Cache Dir: $(hugo config | grep cachedir)" hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" diff --git a/templates/documentation/.github/workflows/deploy.yml b/templates/documentation/.github/workflows/deploy.yml index 7221e659..afb7fe96 100644 --- a/templates/documentation/.github/workflows/deploy.yml +++ b/templates/documentation/.github/workflows/deploy.yml @@ -89,6 +89,7 @@ jobs: - name: Build with Hugo env: HUGO_ENVIRONMENT: production + HUGO_BLOX_LICENSE: ${{ secrets.HUGO_BLOX_LICENSE }} run: | echo "Hugo Cache Dir: $(hugo config | grep cachedir)" hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" diff --git a/templates/landing-page/.github/workflows/deploy.yml b/templates/landing-page/.github/workflows/deploy.yml index 7221e659..afb7fe96 100644 --- a/templates/landing-page/.github/workflows/deploy.yml +++ b/templates/landing-page/.github/workflows/deploy.yml @@ -89,6 +89,7 @@ jobs: - name: Build with Hugo env: HUGO_ENVIRONMENT: production + HUGO_BLOX_LICENSE: ${{ secrets.HUGO_BLOX_LICENSE }} run: | echo "Hugo Cache Dir: $(hugo config | grep cachedir)" hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" diff --git a/templates/link-in-bio/.github/workflows/deploy.yml b/templates/link-in-bio/.github/workflows/deploy.yml index 7221e659..afb7fe96 100644 --- a/templates/link-in-bio/.github/workflows/deploy.yml +++ b/templates/link-in-bio/.github/workflows/deploy.yml @@ -89,6 +89,7 @@ jobs: - name: Build with Hugo env: HUGO_ENVIRONMENT: production + HUGO_BLOX_LICENSE: ${{ secrets.HUGO_BLOX_LICENSE }} run: | echo "Hugo Cache Dir: $(hugo config | grep cachedir)" hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" diff --git a/templates/resume/.github/workflows/deploy.yml b/templates/resume/.github/workflows/deploy.yml index 7221e659..afb7fe96 100644 --- a/templates/resume/.github/workflows/deploy.yml +++ b/templates/resume/.github/workflows/deploy.yml @@ -89,6 +89,7 @@ jobs: - name: Build with Hugo env: HUGO_ENVIRONMENT: production + HUGO_BLOX_LICENSE: ${{ secrets.HUGO_BLOX_LICENSE }} run: | echo "Hugo Cache Dir: $(hugo config | grep cachedir)" hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"