fixed github action by changing firebase target

This commit is contained in:
Kim, Jimin 2021-06-27 14:47:57 +09:00
parent e2f039996a
commit f1c9b04083
2 changed files with 8 additions and 2 deletions

View file

@ -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 }}

View file

@ -1,7 +1,7 @@
{
"hosting": [
{
"target": "test",
"target": "stable",
"cleanUrls": true,
"public": "source/build",
"rewrites": [