Skip to content

Commit

Permalink
Update firebase distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarwillymc committed Jan 19, 2024
1 parent c114027 commit f21a825
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,7 @@ on:
jobs:
generation:
runs-on: ubuntu-latest
env:
VALUE_DATA: |
if [[ "${{ inputs.buildType }}" == "debug" ]]; then
echo "Debug"
else
echo "Release"
fi
APP_ID: |
if [[ "${{ inputs.buildType }}" == "debug" ]]; then
echo ${{secrets.APP_ID_DEBUG}}
else
echo ${{secrets.APP_ID_RELEASE}}
fi
environment: ${{ github.ref_name }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -70,6 +58,18 @@ jobs:
BASE_URL_GQL: ${{ secrets.BASE_URL_GQL }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
VALUE_DATA: |
if [[ "${{ inputs.buildType }}" == "debug" ]]; then
"Debug"
else
"Release"
fi
APP_ID: |
if [[ "${{ inputs.buildType }}" == "debug" ]]; then
${{secrets.APP_ID_DEBUG}}
else
${{secrets.APP_ID_RELEASE}}
fi
run: |
echo "SHARED_PREFERENCES_NAME=$SHARED_PREFERENCES_NAME" >> local.properties
echo "BASE_URL=$BASE_URL" >> local.properties
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
config:
runs-on: ubuntu-latest

environment: ${{ github.ref_name }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit f21a825

Please sign in to comment.