we need env vars at build time too

Signed-off-by: MiniDigger <admin@minidigger.me>
This commit is contained in:
MiniDigger 2021-03-16 19:12:13 +01:00
parent e3c675f43c
commit 39d738e295
2 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,11 @@ jobs:
- name: Build frontend
env:
CI: true
# keep these in sync with compose!
proxyHost: "http://hangar_new_backend:8080"
authHost: "http://hangar_new_auth:8000"
host: "0.0.0.0"
PUBLIC_HOST: "https://hangar-new.minidigger.me"
run: (cd frontend && yarn build)
- name: SSH

View File

@ -9,6 +9,7 @@ services:
depends_on:
- 'backend'
environment:
# keep these in sync with gh-action!
proxyHost: "http://hangar_new_backend:8080"
authHost: "http://hangar_new_auth:8000"
host: "0.0.0.0"