Skip to content

Commit

Permalink
[#229] Fix: exporting multi-lines env files with echo -e
Browse files Browse the repository at this point in the history
  • Loading branch information
luongvo committed Aug 1, 2023
1 parent ed27d51 commit e4304a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/android_deploy_production_to_playstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- feature/229-add-signing-config-in-workflow

jobs:
build_and_deploy_android:
Expand Down Expand Up @@ -45,7 +46,7 @@ jobs:
env:
ENV_PRODUCTION: ${{ secrets.ENV_PRODUCTION }}
run: |
echo $ENV_PRODUCTION > .env
echo -e $ENV_PRODUCTION > .env
- name: Set up release signing configs
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/android_deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- feature/229-add-signing-config-in-workflow

jobs:
build_and_deploy_android:
Expand Down Expand Up @@ -46,7 +47,7 @@ jobs:
env:
ENV_STAGING: ${{ secrets.ENV_STAGING }}
run: |
echo $ENV_STAGING > .env.staging
echo -e $ENV_STAGING > .env.staging
# App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa
- name: Build Android apk
Expand Down

0 comments on commit e4304a0

Please sign in to comment.