Skip to content

Commit

Permalink
feat(config): add matrix home server name env vars and update config (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
domw30 authored Feb 12, 2025
1 parent 0fa1277 commit ee2f789
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ REACT_APP_WEB_APP_DOWNLOAD_PATH='https://download.zero.tech'

# https://thirdweb.com/team/eafca68a014f457392101c2d57f492305407d96b/ZERO-Development--c39822/connect/in-app-wallets/settings
REACT_APP_THIRDWEB_CLIENT_ID='c3982237d85ae8581aa1c90f551664d4'

REACT_APP_MATRIX_HOME_SERVER_NAME='zero-synapse-development.zer0.io'
1 change: 1 addition & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
REACT_APP_APPLE_APP_STORE_PATH: ${{vars.APPLE_APP_STORE_PATH}}
REACT_APP_GOOGLE_PLAY_STORE_PATH: ${{vars.GOOGLE_PLAY_STORE_PATH}}
REACT_APP_WEB_APP_DOWNLOAD_PATH: ${{vars.WEB_APP_DOWNLOAD_PATH}}
REACT_APP_MATRIX_HOME_SERVER_NAME: ${{vars.MATRIX_HOME_SERVER_NAME}}
steps:
- uses: actions/checkout@v4
- name: Common Setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
REACT_APP_APPLE_APP_STORE_PATH: ${{vars.APPLE_APP_STORE_PATH}}
REACT_APP_GOOGLE_PLAY_STORE_PATH: ${{vars.GOOGLE_PLAY_STORE_PATH}}
REACT_APP_WEB_APP_DOWNLOAD_PATH: ${{vars.WEB_APP_DOWNLOAD_PATH}}
REACT_APP_MATRIX_HOME_SERVER_NAME: ${{vars.MATRIX_HOME_SERVER_NAME}}
steps:
- uses: actions/checkout@v4
- name: Common Setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
REACT_APP_APPLE_APP_STORE_PATH: ${{vars.APPLE_APP_STORE_PATH}}
REACT_APP_GOOGLE_PLAY_STORE_PATH: ${{vars.GOOGLE_PLAY_STORE_PATH}}
REACT_APP_WEB_APP_DOWNLOAD_PATH: ${{vars.WEB_APP_DOWNLOAD_PATH}}
REACT_APP_MATRIX_HOME_SERVER_NAME: ${{vars.MATRIX_HOME_SERVER_NAME}}
steps:
- uses: actions/checkout@v4
- name: Common Setup
Expand Down
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ export const config = {
webAppDownloadPath: process.env.REACT_APP_WEB_APP_DOWNLOAD_PATH,
telegramBotUserId: process.env.REACT_APP_TELEGRAM_BOT_USER_ID,
thirwebClientId: process.env.REACT_APP_THIRDWEB_CLIENT_ID,
matrixHomeServerName: process.env.REACT_APP_MATRIX_HOME_SERVER_NAME,
};

0 comments on commit ee2f789

Please sign in to comment.