mirror of https://github.com/yewstack/yew
Fix Firebase deployment issues (#1610)
This commit is contained in:
parent
59640766bd
commit
7fc5fc602a
|
@ -11,6 +11,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
|
@ -23,9 +25,9 @@ jobs:
|
|||
yarn run build
|
||||
|
||||
- name: Deploy to Firebase
|
||||
uses: siku2/action-hosting-deploy@main
|
||||
uses: siku2/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
firebaseToken: "${{ secrets.FIREBASE_TOKEN }}"
|
||||
expires: 20d
|
||||
targets: website
|
||||
targets: hosting:website
|
||||
|
|
|
@ -58,8 +58,9 @@ jobs:
|
|||
done
|
||||
|
||||
- name: Deploy to Firebase
|
||||
uses: w9jds/firebase-action@master
|
||||
uses: siku2/action-hosting-deploy@v0
|
||||
with:
|
||||
args: hosting:channel:deploy --only hosting:examples
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
firebaseToken: "${{ secrets.FIREBASE_TOKEN }}"
|
||||
channel: live
|
||||
targets: hosting:examples
|
||||
|
|
|
@ -23,8 +23,9 @@ jobs:
|
|||
yarn run build
|
||||
|
||||
- name: Deploy to Firebase
|
||||
uses: w9jds/firebase-action@master
|
||||
uses: siku2/action-hosting-deploy@v0
|
||||
with:
|
||||
args: hosting:channel:deploy --only hosting:website
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
firebaseToken: "${{ secrets.FIREBASE_TOKEN }}"
|
||||
channel: live
|
||||
targets: hosting:website
|
||||
|
|
Loading…
Reference in New Issue