use custom preview action
This commit is contained in:
parent
43459b778f
commit
daa6d22470
1 changed files with 2 additions and 2 deletions
4
.github/workflows/preview.yml
vendored
4
.github/workflows/preview.yml
vendored
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue