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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
|
@ -23,9 +25,9 @@ jobs:
|
||||||
yarn run build
|
yarn run build
|
||||||
|
|
||||||
- name: Deploy to Firebase
|
- name: Deploy to Firebase
|
||||||
uses: siku2/action-hosting-deploy@main
|
uses: siku2/action-hosting-deploy@v0
|
||||||
with:
|
with:
|
||||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
firebaseToken: "${{ secrets.FIREBASE_TOKEN }}"
|
firebaseToken: "${{ secrets.FIREBASE_TOKEN }}"
|
||||||
expires: 20d
|
expires: 20d
|
||||||
targets: website
|
targets: hosting:website
|
||||||
|
|
|
@ -58,8 +58,9 @@ jobs:
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Deploy to Firebase
|
- name: Deploy to Firebase
|
||||||
uses: w9jds/firebase-action@master
|
uses: siku2/action-hosting-deploy@v0
|
||||||
with:
|
with:
|
||||||
args: hosting:channel:deploy --only hosting:examples
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
env:
|
firebaseToken: "${{ secrets.FIREBASE_TOKEN }}"
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
channel: live
|
||||||
|
targets: hosting:examples
|
||||||
|
|
|
@ -23,8 +23,9 @@ jobs:
|
||||||
yarn run build
|
yarn run build
|
||||||
|
|
||||||
- name: Deploy to Firebase
|
- name: Deploy to Firebase
|
||||||
uses: w9jds/firebase-action@master
|
uses: siku2/action-hosting-deploy@v0
|
||||||
with:
|
with:
|
||||||
args: hosting:channel:deploy --only hosting:website
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
env:
|
firebaseToken: "${{ secrets.FIREBASE_TOKEN }}"
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
channel: live
|
||||||
|
targets: hosting:website
|
||||||
|
|
Loading…
Reference in New Issue