fix(ci): update dashboard detection to apps/hub/dashboard/
This commit is contained in:
@@ -64,7 +64,7 @@ jobs:
|
||||
|
||||
echo "scraper-api=$(changed '^(apps/scraper(/|$)|\.github/workflows/docker-build-push\.yml$|infra/docker/scraper\.Dockerfile$)')" >> "$GITHUB_OUTPUT"
|
||||
echo "hub=$(changed '^(apps/hub(/|$)|\.github/workflows/docker-build-push\.yml$|infra/docker/hub\.Dockerfile$)')" >> "$GITHUB_OUTPUT"
|
||||
echo "dashboard=$(changed '^(infra/dashboard(/|$)|\.github/workflows/docker-build-push\.yml$|infra/docker/dashboard\.Dockerfile$)')" >> "$GITHUB_OUTPUT"
|
||||
echo "dashboard=$(changed '^(apps/hub/dashboard(/|$)|\.github/workflows/docker-build-push\.yml$|infra/docker/dashboard\.Dockerfile$)')" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Parse repository_dispatch payload
|
||||
id: dispatch
|
||||
@@ -267,7 +267,7 @@ jobs:
|
||||
declare -A PATHS
|
||||
PATHS["scraper-api"]="apps/scraper"
|
||||
PATHS["hub"]="apps/hub"
|
||||
PATHS["dashboard"]="infra/dashboard"
|
||||
PATHS["dashboard"]="apps/hub"
|
||||
|
||||
# Use git config for possible commits
|
||||
git config --local user.email "action@github.com"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# ── Build stage ──
|
||||
FROM golang:1.24-alpine AS builder
|
||||
WORKDIR /build
|
||||
COPY infra/dashboard/ ./
|
||||
COPY apps/hub/dashboard/ ./
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o dashboard .
|
||||
|
||||
# ── Runtime (scratch — ~7MB total) ──
|
||||
|
||||
Reference in New Issue
Block a user