From fad09101c9b263125fab1be330e3cf6d5355c6ac Mon Sep 17 00:00:00 2001 From: Louis Bailleau Date: Sun, 21 Apr 2024 14:17:16 +0200 Subject: [PATCH] ci: allow to manually trigger build workflow --- .github/workflows/build.yaml | 3 ++- Dockerfile | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c096168..edeb576 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: env: REGISTRY: ghcr.io @@ -57,4 +58,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | - PLAUSIBLE_ENDPOINT=${{ vars.PLAUSIBLE_ENDPOINT }} + HUGOxPARAMSxPLAUSIBLE_ANALYTICSxENDPOINT=${{ vars.PLAUSIBLE_ENDPOINT }} diff --git a/Dockerfile b/Dockerfile index 0a05f51..08928e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,6 @@ FROM hugomods/hugo:exts as builder # Base URL ARG HUGO_BASEURL= ENV HUGO_BASEURL=${HUGO_BASEURL} -ARG PLAUSIBLE_ENDPOINT -ARG HUGOxPARAMSxPLAUSIBLE_ANALYTICSxENDPOINT="${PLAUSIBLE_ENDPOINT}" # Build site COPY . /src