From e62681bd5caf4aba939f1058bdce3d4120774d49 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 2 Dec 2024 11:48:21 -0700 Subject: [PATCH] ci(android): build and deploy staging, not prod (#558) --- .github/workflows/ci.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c5561d8a2..f152ef3a6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -149,15 +149,15 @@ jobs: MAPBOX_SECRET_TOKEN: ${{ secrets.MAPBOX_SECRET_TOKEN }} MAPBOX_PUBLIC_TOKEN: ${{ secrets.MAPBOX_PUBLIC_TOKEN }} run: | - bundle exec fastlane android build flavor:Prod + bundle exec fastlane android build flavor:Staging - uses: actions/upload-artifact@v4 with: name: android-apk - path: androidApp/build/outputs/apk/prod/release/androidApp-prod-release.apk + path: androidApp/build/outputs/apk/staging/release/androidApp-staging-release.apk - uses: actions/upload-artifact@v4 with: name: android-aab - path: androidApp/build/outputs/bundle/prodRelease/androidApp-prod-release.aab + path: androidApp/build/outputs/bundle/stagingRelease/androidApp-staging-release.aab deploy-android: name: Upload to Google Play if: github.event_name != 'pull_request' @@ -177,7 +177,7 @@ jobs: - uses: actions/download-artifact@v4 with: name: android-aab - path: androidApp/build/outputs/bundle/prodRelease + path: androidApp/build/outputs/bundle/stagingRelease - uses: ./.github/actions/setup with: gcp-provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -185,4 +185,4 @@ jobs: ruby: true - name: Upload to Google Play run: | - bundle exec fastlane android internal flavor:Prod + bundle exec fastlane android internal flavor:Staging