From 667476482d3005d6453c63a9732e9a21724b84e4 Mon Sep 17 00:00:00 2001 From: Frank Date: Mon, 29 Jul 2024 14:55:29 +0200 Subject: [PATCH] chore: set new renoen endpoint --- .github/workflows/build-and-deploy-powerhouse-staging.yaml | 1 + Dockerfile | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build-and-deploy-powerhouse-staging.yaml b/.github/workflows/build-and-deploy-powerhouse-staging.yaml index 8f81b091..16557df1 100644 --- a/.github/workflows/build-and-deploy-powerhouse-staging.yaml +++ b/.github/workflows/build-and-deploy-powerhouse-staging.yaml @@ -29,4 +29,5 @@ jobs: --build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }} --build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }} --build-arg VITE_DEFAULT_DRIVE_URL=https://apps.powerhouse.io/alpha/powerhouse/switchboard/d/powerhouse + --build-arg VITE_RENOWN_URL=https://renown-6bdc9fb67095.herokuapp.com process_type: web \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 9db64cb6..fdc416bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ ENV VITE_RENOWN_NETWORK_ID=${VITE_RENOWN_NETWORK_ID} ARG VITE_RENOWN_CHAIN_ID=1 ENV VITE_RENOWN_CHAIN_ID=${VITE_RENOWN_CHAIN_ID} +ARG VITE_RENOWN_URL="https://renown.id" +ENV VITE_RENOWN_URL=${RENOWN_URL} + ARG VITE_SENTRY_DSN="" ENV VITE_SENTRY_DSN=${VITE_SENTRY_DSN} @@ -56,6 +59,8 @@ ENV VITE_RWA_ALLOW_LIST=${VITE_RWA_ALLOW_LIST} ARG VITE_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=true ENV VITE_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=${VITE_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS} + + WORKDIR /opt/app COPY . . RUN npm install -g husky vite