mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
we need env vars at build time too
Signed-off-by: MiniDigger <admin@minidigger.me>
This commit is contained in:
parent
e3c675f43c
commit
39d738e295
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user