From be6aa938955e307a9c18979f3845ea5a0bb9e8c7 Mon Sep 17 00:00:00 2001 From: Saqib Date: Wed, 4 Nov 2026 12:59:55 +0530 Subject: [PATCH] ci(deploy): pass STORAGE_PUBLIC_BASE_URL to the build next.config.mjs adds this host to images.remotePatterns at build time (#514). The deploy never set it, so the CloudFront host was never allowed. --- .github/workflows/deploy-Dataspace.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-Dataspace.yml b/.github/workflows/deploy-Dataspace.yml index 5a2440e8..2d499abf 100644 --- a/.github/workflows/deploy-Dataspace.yml +++ b/.github/workflows/deploy-Dataspace.yml @@ -41,6 +41,8 @@ jobs: END_SESSION_URL: ${{ secrets.END_SESSION_URL }} REFRESH_TOKEN_URL: ${{ secrets.REFRESH_TOKEN_URL }} NEXT_PUBLIC_BACKEND_URL: ${{ vars.NEXT_PUBLIC_BACKEND_URL }} + # CloudFront host for S3 media; next.config.mjs adds it to images.remotePatterns at build time + STORAGE_PUBLIC_BASE_URL: ${{ vars.STORAGE_PUBLIC_BASE_URL }} BACKEND_URL: ${{ vars.BACKEND_URL }} NEXT_PUBLIC_BACKEND_GRAPHQL_URL: ${{ vars.NEXT_PUBLIC_BACKEND_GRAPHQL_URL }} BACKEND_GRAPHQL_URL: ${{ vars.BACKEND_GRAPHQL_URL }}