diff --git a/.github/workflows/beta-deployment.yml b/.github/workflows/beta-deployment.yml index 95a3a8af..e0790369 100644 --- a/.github/workflows/beta-deployment.yml +++ b/.github/workflows/beta-deployment.yml @@ -66,33 +66,33 @@ jobs: steps: - run: | echo "Injecting Environment Variables In Deployment Workflow: ${{ vars.FIREBASE_PROJECT_ID }}" - buildandtest: - name: Build and Test - needs: determineenvironment - uses: ./.github/workflows/build-and-test.yml - permissions: - contents: read - actions: read - security-events: write - secrets: inherit - iosapptestflightdeployment: - name: iOS App TestFlight Deployment - needs: [determineenvironment, buildandtest, vars] - uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 - permissions: - contents: read - with: - runsonlabels: '["macOS", "self-hosted"]' - environment: ${{ needs.determineenvironment.outputs.environment }} - googleserviceinfoplistpath: 'PAWS/Supporting Files/GoogleService-Info.plist' - setupsigning: true - setupfirebaseemulator: true - firebaseemulatorimport: ./firebase --project ${{ needs.vars.outputs.FIREBASE_PROJECT_ID }} - fastlanelane: deploy environment:"${{ needs.determineenvironment.outputs.environment }}" - secrets: inherit + # buildandtest: + # name: Build and Test + # needs: determineenvironment + # uses: ./.github/workflows/build-and-test.yml + # permissions: + # contents: read + # actions: read + # security-events: write + # secrets: inherit + # iosapptestflightdeployment: + # name: iOS App TestFlight Deployment + # needs: [determineenvironment, buildandtest, vars] + # uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + # permissions: + # contents: read + # with: + # runsonlabels: '["macOS", "self-hosted"]' + # environment: ${{ needs.determineenvironment.outputs.environment }} + # googleserviceinfoplistpath: 'PAWS/Supporting Files/GoogleService-Info.plist' + # setupsigning: true + # setupfirebaseemulator: true + # firebaseemulatorimport: ./firebase --project ${{ needs.vars.outputs.FIREBASE_PROJECT_ID }} + # fastlanelane: deploy environment:"${{ needs.determineenvironment.outputs.environment }}" + # secrets: inherit deployfirebase: name: Deploy Firebase Project - needs: [determineenvironment, vars, iosapptestflightdeployment] + needs: [determineenvironment, vars] # iosapptestflightdeployment uses: StanfordBDHG/.github/.github/workflows/firebase-deploy.yml@v2 permissions: contents: read diff --git a/PAWS/SharedContext/FeatureFlags.swift b/PAWS/SharedContext/FeatureFlags.swift index 9d8e0b4e..f64a2985 100644 --- a/PAWS/SharedContext/FeatureFlags.swift +++ b/PAWS/SharedContext/FeatureFlags.swift @@ -16,7 +16,7 @@ enum FeatureFlags { static let disableFirebase = CommandLine.arguments.contains("--disableFirebase") #if targetEnvironment(simulator) /// Defines if the application should connect to the local firebase emulator. Always set to true when using the iOS simulator. - static let useFirebaseEmulator = true + static let useFirebaseEmulator = false #else /// Defines if the application should connect to the local firebase emulator. Always set to true when using the iOS simulator. static let useFirebaseEmulator = CommandLine.arguments.contains("--useFirebaseEmulator")