fixed github action by changing firebase target
This commit is contained in:
parent
e2f039996a
commit
f1c9b04083
2 changed files with 8 additions and 2 deletions
8
.github/workflows/firebase-hosting-merge.yml
vendored
8
.github/workflows/firebase-hosting-merge.yml
vendored
|
@ -39,9 +39,15 @@ jobs:
|
|||
args: use developomp-site
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
- name: Apply target
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: target:apply hosting stable developomp-site
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
- name: Deploy to Firebase
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: deploy --only hosting
|
||||
args: deploy --only hosting:stable
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"hosting": [
|
||||
{
|
||||
"target": "test",
|
||||
"target": "stable",
|
||||
"cleanUrls": true,
|
||||
"public": "source/build",
|
||||
"rewrites": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue