Skip to content

Commit 55ae4b3

Browse files
committed
fix(setup): update env variables in docker
1 parent 6bb1008 commit 55ae4b3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
APP_TITLE: ${{ vars.APP_TITLE }}
11+
APP_UNIFIED_API_ENDPOINT: ${{ vars.APP_UNIFIED_API_ENDPOINT }}
1112
GITHUB_WORKFLOW: true
1213

1314
jobs:
@@ -56,6 +57,8 @@ jobs:
5657

5758
- name: Run knip
5859
run: pnpm lint:unused
60+
61+
# NOTE:we don't need it for now
5962
# typecheck:
6063
# name: Typecheck
6164
# environment: 'test'
@@ -98,6 +101,7 @@ jobs:
98101

99102
# - name: Lint Javascript
100103
# run: pnpm lint:js
104+
101105
css-lint:
102106
name: Lint CSS
103107
environment: 'test'

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
command: sh -c 'pnpm install && pnpm start --host'
99
environment:
1010
APP_TITLE: ${APP_TITLE:-Unified Notes}
11+
APP_UNIFIED_API_ENDPOINT: ${APP_UNIFIED_API_ENDPOINT:-https://notes-api.local.togglecorp.com/}
1112
volumes:
1213
- .:/code
1314
ports:

0 commit comments

Comments
 (0)