diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index b0d07b7..1f0aec7 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -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 }} diff --git a/firebase.json b/firebase.json index 3a5aa77..968cfaa 100644 --- a/firebase.json +++ b/firebase.json @@ -1,7 +1,7 @@ { "hosting": [ { - "target": "test", + "target": "stable", "cleanUrls": true, "public": "source/build", "rewrites": [