Skip to content

Commit

Permalink
Merge pull request #289 from mdgspace/kituuu-patch-1
Browse files Browse the repository at this point in the history
Update cd.yml
  • Loading branch information
am-casper authored Oct 13, 2024
2 parents 8e6323a + 37b9527 commit 10b99ae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,15 @@ jobs:
if: "contains(github.event.release.tag_name, 'internal')"
run: flutter build appbundle --dart-define=SENTRY_DSN=${SENTRY_DSN}

- run: echo "${PROD_BASE_URL}"

- name: 'Build prod appbundle'
if: "!contains(github.event.release.tag_name, 'internal')"
run: flutter build appbundle --dart-define=SENTRY_DSN=${SENTRY_DSN} --dart-define=BASE_URL=${PROD_BASE_URL} --dart-define=OAUTH_REDIRECT_URI=${PROD_BASE_URL}/api/user/oauth/redirect/
run: flutter build appbundle --dart-define=SENTRY_DSN=${SENTRY_DSN} --dart-define=BASE_URL=${PROD_BASE_URL} --dart-define=OAUTH_REDIRECT_URI=${PROD_BASE_URL}/api/user/oauth/redirect/


# Run fastlane internal
- uses: maierj/fastlane-action@v1.4.0
with:
lane: ${{ env.RELEASE_TYPE }}
subdirectory: android
subdirectory: android

0 comments on commit 10b99ae

Please sign in to comment.