Skip to content

Commit

Permalink
ci: allow to manually trigger build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Bricklou committed Apr 21, 2024
1 parent a4459ab commit fad0910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
workflow_dispatch:

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -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 }}
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fad0910

Please sign in to comment.