From 5d87a3880f100ace654495949f899b1585fa06e7 Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Fri, 22 Nov 2024 10:45:35 +0000 Subject: [PATCH] Add env and 400 gh file --- .github/workflows/deploy-gh.yml | 3 +++ packages/client/.env | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/deploy-gh.yml b/.github/workflows/deploy-gh.yml index 348cc07..412f636 100644 --- a/.github/workflows/deploy-gh.yml +++ b/.github/workflows/deploy-gh.yml @@ -64,6 +64,9 @@ jobs: path: packages/client/dist key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} + - name: Copy index as 400 file for github pages + run: cp packages/client/dist/index.html packages/client/dist/400.html + - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: diff --git a/packages/client/.env b/packages/client/.env index 0719296..15a8766 100644 --- a/packages/client/.env +++ b/packages/client/.env @@ -1,2 +1,3 @@ APP_TITLE=STAC Manager APP_DESCRIPTION=Plugin baed stac editor +REACT_APP_STAC_API=https://eoapi.develop.eoepca.org/stac