Skip to content

Commit

Permalink
feat(config/env-vars): add apple app and google play store config paths
Browse files Browse the repository at this point in the history
  • Loading branch information
domw30 committed Jun 19, 2024
1 parent 19d1369 commit 9b9f200
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ REACT_APP_ANDROID_STORE_PATH="https://play.google.com/store/apps/details?id=com.
REACT_APP_MATRIX_HOME_SERVER_URL='https://zero-synapse-development-db365bf96189.herokuapp.com'

REACT_APP_ZNS_EXPLORER_URL='https://explorer.zero.tech'

REACT_APP_APPLE_APP_STORE_PATH='https://apps.apple.com/gb/app/zero-messenger/id6476882926'
REACT_APP_GOOGLE_PLAY_STORE_PATH='https://play.google.com/store/apps/details?id=com.zero.android.messenger'
2 changes: 2 additions & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
REACT_APP_ANDROID_STORE_PATH: ${{vars.ANDROID_STORE_PATH}}
REACT_APP_MATRIX_HOME_SERVER_URL: ${{vars.MATRIX_HOME_SERVER_URL}}
REACT_APP_ZNS_EXPLORER_URL: ${{vars.ZNS_EXPLORER_URL}}
REACT_APP_APPLE_APP_STORE_PATH: ${{vars.APPLE_APP_STORE_PATH}}
REACT_APP_GOOGLE_PLAY_STORE_PATH: ${{vars.GOOGLE_PLAY_STORE_PATH}}
steps:
- uses: actions/checkout@v4
- name: Common Setup
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
REACT_APP_ANDROID_STORE_PATH: ${{vars.ANDROID_STORE_PATH}}
REACT_APP_MATRIX_HOME_SERVER_URL: ${{vars.MATRIX_HOME_SERVER_URL_NEW}}
REACT_APP_ZNS_EXPLORER_URL: ${{vars.ZNS_EXPLORER_URL}}
REACT_APP_APPLE_APP_STORE_PATH: ${{vars.APPLE_APP_STORE_PATH}}
REACT_APP_GOOGLE_PLAY_STORE_PATH: ${{vars.GOOGLE_PLAY_STORE_PATH}}
steps:
- uses: actions/checkout@v4
- name: Common Setup
Expand Down
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ export const config = {
},
androidStorePath: process.env.REACT_APP_ANDROID_STORE_PATH,
znsExplorerUrl: process.env.REACT_APP_ZNS_EXPLORER_URL,
appleAppStorePath: process.env.REACT_APP_APPLE_APP_STORE_PATH,
googlePlayStorePath: process.env.REACT_APP_GOOGLE_PLAY_STORE_PATH,
};

0 comments on commit 9b9f200

Please sign in to comment.