chore: fix env url (#2808)
This commit is contained in:
parent
b5f3047dd1
commit
261b737eae
2 changed files with 1 additions and 3 deletions
2
.github/workflows/main_deploy.yaml
vendored
2
.github/workflows/main_deploy.yaml
vendored
|
|
@ -49,8 +49,6 @@ jobs:
|
|||
echo "$WEB_APP_ENV" >> public/.env
|
||||
cp public/.env public/assets/.env
|
||||
touch public/assets/envs.json
|
||||
echo "Test Environment File"
|
||||
echo "$ENV_OVERRIDES"
|
||||
echo "$ENV_OVERRIDES" >> public/assets/envs.json
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ class Environment {
|
|||
|
||||
List<dynamic> data = [];
|
||||
try {
|
||||
final String jsonString = await rootBundle.loadString('assets/envs.json');
|
||||
final String jsonString = await rootBundle.loadString('envs.json');
|
||||
data = jsonDecode(jsonString);
|
||||
} catch (e, s) {
|
||||
ErrorHandler.logError(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue