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
|
args: use developomp-site
|
||||||
env:
|
env:
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
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
|
- name: Deploy to Firebase
|
||||||
uses: w9jds/firebase-action@master
|
uses: w9jds/firebase-action@master
|
||||||
with:
|
with:
|
||||||
args: deploy --only hosting
|
args: deploy --only hosting:stable
|
||||||
env:
|
env:
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"hosting": [
|
"hosting": [
|
||||||
{
|
{
|
||||||
"target": "test",
|
"target": "stable",
|
||||||
"cleanUrls": true,
|
"cleanUrls": true,
|
||||||
"public": "source/build",
|
"public": "source/build",
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue