generated from nimblehq/git-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#226] Fix: exporting multi-lines env files using quote "" https://st…
- Loading branch information
Showing
11 changed files
with
37 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ jobs: | |
build_and_deploy_android: | ||
name: Build & Deploy Android | ||
runs-on: ubuntu-latest | ||
environment: production | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Check out | ||
|
@@ -43,9 +44,9 @@ jobs: | |
|
||
- name: Set up .env | ||
env: | ||
ENV_PRODUCTION: ${{ secrets.ENV_PRODUCTION }} | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo $ENV_PRODUCTION > .env | ||
echo "$ENV" > .env | ||
# App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa | ||
- name: Build Android apk | ||
|
@@ -54,7 +55,7 @@ jobs: | |
- name: Deploy Android Production to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{ secrets.FIREBASE_ANDROID_APP_ID_PRODUCTION }} | ||
appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} | ||
groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} | ||
file: build/app/outputs/flutter-apk/app-production-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ jobs: | |
build_and_deploy_android: | ||
name: Build & Deploy Android | ||
runs-on: ubuntu-latest | ||
environment: staging | ||
timeout-minutes: 30 | ||
environment: staging | ||
steps: | ||
|
@@ -44,9 +45,9 @@ jobs: | |
|
||
- name: Set up .env.staging | ||
env: | ||
ENV_STAGING: ${{ secrets.ENV_STAGING }} | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo $ENV_STAGING > .env.staging | ||
echo "$ENV" > .env.staging | ||
# App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa | ||
- name: Build Android apk | ||
|
@@ -55,7 +56,7 @@ jobs: | |
- name: Deploy Android Staging to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{ secrets.FIREBASE_ANDROID_APP_ID_STAGING }} | ||
appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} | ||
groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} | ||
file: build/app/outputs/flutter-apk/app-staging-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ jobs: | |
build_and_deploy_android: | ||
name: Build & Deploy Android | ||
runs-on: ubuntu-latest | ||
environment: production | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Check out | ||
|
@@ -34,9 +35,9 @@ jobs: | |
|
||
- name: Set up .env | ||
env: | ||
ENV_PRODUCTION: ${{#mustacheCase}}secrets.ENV_PRODUCTION{{/mustacheCase}} | ||
ENV: ${{#mustacheCase}}secrets.ENV{{/mustacheCase}} | ||
run: | | ||
echo $ENV_PRODUCTION > .env | ||
echo "$ENV" > .env | ||
# App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa | ||
- name: Build Android apk | ||
|
@@ -45,7 +46,7 @@ jobs: | |
- name: Deploy Android Production to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{#mustacheCase}}secrets.FIREBASE_ANDROID_APP_ID_PRODUCTION{{/mustacheCase}} | ||
appId: ${{#mustacheCase}}vars.FIREBASE_ANDROID_APP_ID{{/mustacheCase}} | ||
serviceCredentialsFileContent: ${{#mustacheCase}}secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON{{/mustacheCase}} | ||
groups: ${{#mustacheCase}}vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS{{/mustacheCase}} | ||
file: build/app/outputs/flutter-apk/app-production-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ jobs: | |
build_and_deploy_android: | ||
name: Build & Deploy Android | ||
runs-on: ubuntu-latest | ||
environment: staging | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Check out | ||
|
@@ -34,9 +35,9 @@ jobs: | |
|
||
- name: Set up .env.staging | ||
env: | ||
ENV_STAGING: ${{#mustacheCase}}secrets.ENV_STAGING{{/mustacheCase}} | ||
ENV: ${{#mustacheCase}}secrets.ENV{{/mustacheCase}} | ||
run: | | ||
echo $ENV_STAGING > .env.staging | ||
echo "$ENV" > .env.staging | ||
# App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa | ||
- name: Build Android apk | ||
|
@@ -45,7 +46,7 @@ jobs: | |
- name: Deploy Android Staging to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{#mustacheCase}}secrets.FIREBASE_ANDROID_APP_ID_STAGING{{/mustacheCase}} | ||
appId: ${{#mustacheCase}}vars.FIREBASE_ANDROID_APP_ID{{/mustacheCase}} | ||
serviceCredentialsFileContent: ${{#mustacheCase}}secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON{{/mustacheCase}} | ||
groups: ${{#mustacheCase}}vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS{{/mustacheCase}} | ||
file: build/app/outputs/flutter-apk/app-staging-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters