diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c096168..0292267 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,10 +4,13 @@ on: push: branches: - main + workflow_dispatch: env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} + HUGO_BASEURL: https://bricklou.ovh + PLAUSIBLE_ENDPOINT: https://plausible.bricklou.ovh jobs: build-and-publish: @@ -57,4 +60,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | - PLAUSIBLE_ENDPOINT=${{ vars.PLAUSIBLE_ENDPOINT }} + PLAUSIBLE_ENDPOINT=${{ env.PLAUSIBLE_ENDPOINT }} diff --git a/Dockerfile b/Dockerfile index 0a05f51..fe77798 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM hugomods/hugo:exts as builder ARG HUGO_BASEURL= ENV HUGO_BASEURL=${HUGO_BASEURL} ARG PLAUSIBLE_ENDPOINT -ARG HUGOxPARAMSxPLAUSIBLE_ANALYTICSxENDPOINT="${PLAUSIBLE_ENDPOINT}" +ENV HUGOxPARAMSxPLAUSIBLE_ANALYTICSxENDPOINT="${PLAUSIBLE_ENDPOINT}" # Build site COPY . /src