From 07d764301ccdf9ab1bee46c189937a3cbec0cefc Mon Sep 17 00:00:00 2001 From: Samuel <47388695+Dagonite@users.noreply.github.com> Date: Mon, 8 Jul 2024 14:14:32 +0100 Subject: [PATCH] Add plugin url for staging and development (#201) * Add plugin url * Update build push workflow * Update build-push-action.yml * Revert workflow action --------- Co-authored-by: keiranjprice101 <44777678+keiranjprice101@users.noreply.github.com> --- .github/workflows/build-push-action.yml | 1 - container/frontend.dockerfile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-push-action.yml b/.github/workflows/build-push-action.yml index 7d211e0..0eadcc2 100644 --- a/.github/workflows/build-push-action.yml +++ b/.github/workflows/build-push-action.yml @@ -5,7 +5,6 @@ on: push: branches: - main - env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository_owner }} diff --git a/container/frontend.dockerfile b/container/frontend.dockerfile index 74b2dba..bcac517 100644 --- a/container/frontend.dockerfile +++ b/container/frontend.dockerfile @@ -5,6 +5,7 @@ WORKDIR /app ENV REACT_APP_FIA_REST_API_URL="/api" ENV REACT_APP_FIA_DATA_VIEWER_URL="/data-viewer" +ENV REACT_APP_PLUGIN_URL="/f-i-a" COPY . . @@ -22,4 +23,4 @@ ENV REACT_APP_FIA_REST_API_URL="/api" EXPOSE 80 -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"]