use custom preview action

This commit is contained in:
Raymond Wang 2022-10-24 21:27:44 -07:00
parent 43459b778f
commit daa6d22470

View file

@ -3,7 +3,7 @@ name: deploy-preview
on: pull_request on: pull_request
jobs: jobs:
build_and_preview: build-and-preview:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -13,7 +13,7 @@ jobs:
- run: | - run: |
npm ci npm ci
npm run build npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0 - uses: waymondrang/action-hosting-deploy@v0
with: with:
repoToken: "${{ secrets.GITHUB_TOKEN }}" repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"