Skip to content

Commit

Permalink
Update on merge firebase deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffGreiner-eaton committed Dec 10, 2024
1 parent dd55028 commit fddba97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ on:
push:
branches:
- master

permissions:
pull-requests: write
contents: read
checks: write

jobs:
build_and_deploy:
runs-on: ubuntu-latest
env:
OKTA_APP_ISSUER: ${{secrets.OKTA_APP_ISSUER}}
steps:
- uses: actions/checkout@v4
- run: cd login-workflow && yarn install:dependencies && yarn link:workflow && cd example && yarn && yarn build
- run: cd login-workflow && yarn install:dependencies && yarn link:workflow && cd example && yarn && echo "${{ secrets.OKTA_APP_ISSUER }}" > .env.local && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: './login-workflow'
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
# Run - yarn firebase login
# Run - yarn firebase init hosting (new)
# Run - yarn firebase init hosting:github (only if hosting has previously been setup)

name: Deploy to Firebase Hosting on PR

Expand All @@ -22,9 +19,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: cd login-workflow && yarn install:dependencies && yarn link:workflow && cd example && yarn && echo "${{ secrets.OKTA_APP_ISSUER }}" > .env.local && yarn build
# - run: |
# cd login-workflow/example
# echo "${{ secrets.OKTA_APP_ISSUER }}" > .env.local
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: './login-workflow'
Expand Down

0 comments on commit fddba97

Please sign in to comment.