From d931bc6e0523b5e1766efef824c58153bfdde204 Mon Sep 17 00:00:00 2001 From: Jan Stabenow Date: Fri, 2 Feb 2024 19:52:40 +0100 Subject: [PATCH] Fix public url --- .github/workflows/build_restreamer-ui.yaml | 3 ++- .github/workflows/build_restreamer_dev.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_restreamer-ui.yaml b/.github/workflows/build_restreamer-ui.yaml index be3b6c9..4e0729e 100644 --- a/.github/workflows/build_restreamer-ui.yaml +++ b/.github/workflows/build_restreamer-ui.yaml @@ -19,6 +19,8 @@ jobs: run: | yarn install yarn build + env: + PUBLIC_URL: './' - name: Upload React build as artifact uses: actions/upload-artifact@v2 @@ -92,7 +94,6 @@ jobs: context: . file: ./Dockerfile.workflow build-args: | - PUBLIC_URL=/ui CADDY_IMAGE=${{ env.CADDY_IMAGE }} platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true diff --git a/.github/workflows/build_restreamer_dev.yaml b/.github/workflows/build_restreamer_dev.yaml index 8f82274..4be4be9 100644 --- a/.github/workflows/build_restreamer_dev.yaml +++ b/.github/workflows/build_restreamer_dev.yaml @@ -21,6 +21,8 @@ jobs: run: | yarn install yarn build + env: + PUBLIC_URL: './' - name: Upload React build as artifact uses: actions/upload-artifact@v2 @@ -92,7 +94,6 @@ jobs: context: . file: ./Dockerfile.workflow build-args: | - PUBLIC_URL=/ui CADDY_IMAGE=${{ env.CADDY_IMAGE }} platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true