Skip to content

Commit 7aa35b3

Browse files
committed
Fix gh actions build
1 parent 635ee09 commit 7aa35b3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/checks.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ jobs:
103103
build:
104104
needs: prep
105105
runs-on: ubuntu-latest
106+
# Just testing purposes
107+
env:
108+
REACT_APP_STAC_API: https://stac.eoapi.dev
109+
PUBLIC_URL: http://stac-manager.ds.io
106110

107111
steps:
108112
- name: Checkout
@@ -123,5 +127,8 @@ jobs:
123127
- name: Install
124128
run: npm install
125129

130+
- name: Create .env file
131+
run: mv packages/client/.env.example packages/client/.env
132+
126133
- name: Test
127134
run: npm run all:build

.github/workflows/deploy-gh.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
- name: Install
4848
run: npm install
4949

50+
- name: Create .env file
51+
run: mv packages/client/.env.example packages/client/.env
52+
5053
- name: Setup SPA on Github Pages
5154
run: node packages/client/tasks/setup-gh-pages.mjs
5255

0 commit comments

Comments
 (0)