Skip to content

Commit

Permalink
Update Project ID
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed Aug 9, 2024
1 parent 15b493f commit e51300c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/beta-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ jobs:
else
echo "environment=staging" >> $GITHUB_OUTPUT
fi
vars:
name: Inject Environment Variables In Deployment Workflow
needs: determineenvironment
runs-on: ubuntu-latest
environment: ${{ needs.determineenvironment.outputs.environment }}
outputs:
FIREBASE_PROJECT_ID: ${{ vars.FIREBASE_PROJECT_ID }}
steps:
- run: |
echo "Injecting Environment Variables In Deployment Workflow: ${{ vars.FIREBASE_PROJECT_ID }}"
buildandtest:
name: Build and Test
needs: determineenvironment
Expand All @@ -67,7 +77,7 @@ jobs:
secrets: inherit
iosapptestflightdeployment:
name: iOS App TestFlight Deployment
needs: [determineenvironment, buildandtest]
needs: [determineenvironment, buildandtest, vars]
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
contents: read
Expand All @@ -77,19 +87,9 @@ jobs:
googleserviceinfoplistpath: 'PAWS/Supporting Files/GoogleService-Info.plist'
setupsigning: true
setupfirebaseemulator: true
firebaseemulatorimport: ./firebase
firebaseemulatorimport: ./firebase --project ${{ needs.vars.outputs.FIREBASE_PROJECT_ID }}
fastlanelane: deploy environment:"${{ needs.determineenvironment.outputs.environment }}"
secrets: inherit
vars:
name: Inject Environment Variables In Deployment Workflow
needs: determineenvironment
runs-on: ubuntu-latest
environment: ${{ needs.determineenvironment.outputs.environment }}
outputs:
FIREBASE_PROJECT_ID: ${{ vars.FIREBASE_PROJECT_ID }}
steps:
- run: |
echo "Injecting Environment Variables In Deployment Workflow: ${{ vars.FIREBASE_PROJECT_ID }}"
deployfirebase:
name: Deploy Firebase Project
needs: [determineenvironment, vars, iosapptestflightdeployment]
Expand Down

0 comments on commit e51300c

Please sign in to comment.