Skip to content

Commit

Permalink
Fix Functions
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed May 31, 2024
1 parent 8c5ac7e commit 3aa0c60
Show file tree
Hide file tree
Showing 3 changed files with 1,488 additions and 1,026 deletions.
40 changes: 19 additions & 21 deletions .github/workflows/beta-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,29 @@ on:
workflow_dispatch:

jobs:
buildandtest:
name: Build and Test
uses: ./.github/workflows/build-and-test.yml
permissions:
contents: read
secrets: inherit
iosapptestflightdeployment:
name: iOS App TestFlight Deployment
needs: buildandtest
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
contents: read
with:
runsonlabels: '["macOS", "self-hosted"]'
googleserviceinfoplistpath: 'ENGAGEHF/Supporting Files/GoogleService-Info.plist'
setupsigning: true
fastlanelane: beta
secrets: inherit
# buildandtest:
# name: Build and Test
# uses: ./.github/workflows/build-and-test.yml
# permissions:
# contents: read
# secrets: inherit
# iosapptestflightdeployment:
# name: iOS App TestFlight Deployment
# needs: buildandtest
# uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
# permissions:
# contents: read
# with:
# runsonlabels: '["macOS", "self-hosted"]'
# googleserviceinfoplistpath: 'ENGAGEHF/Supporting Files/GoogleService-Info.plist'
# setupsigning: true
# fastlanelane: beta
# secrets: inherit
deployfirebase:
name: Deploy Firebase Project
needs: iosapptestflightdeployment
# needs: iosapptestflightdeployment
uses: StanfordBDHG/.github/.github/workflows/firebase-deploy.yml@v2
permissions:
contents: read
with:
arguments: '--debug'
secrets:
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }}
4 changes: 2 additions & 2 deletions functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ admin.initializeApp();
exports.checkInvitationCode = onCall(async (request) => {
if (!request.auth.uid) {
throw new https.HttpsError(
"unauthenticated",
"User is not properly authenticated.",
"unauthenticated",
"User is not properly authenticated.",
);
}

Expand Down
Loading

0 comments on commit 3aa0c60

Please sign in to comment.