From 3fedd7538110532823c0075a0b7026adb0cef5ac Mon Sep 17 00:00:00 2001 From: Arbi Syarifudin Date: Wed, 13 Mar 2024 05:16:01 +0700 Subject: [PATCH] Update GitHub Actions workflow for Firebase Hosting deployment --- .github/workflows/firebase-hosting-merge.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 7e510a1..5b4dd98 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -69,8 +69,9 @@ jobs: - name: Static HTML export with Nuxt run: ${{ steps.detect-package-manager.outputs.manager }} run generate - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist # Deployment job @@ -78,6 +79,8 @@ jobs: runs-on: ubuntu-latest needs: build steps: + - name: Checkout + uses: actions/checkout@v4 - name: Get build artifact uses: actions/download-artifact@v3 with: @@ -85,7 +88,7 @@ jobs: - name: Deploy to Firebase Hosting uses: FirebaseExtended/action-hosting-deploy@v0 with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ARSYAF_WEB }}' + repoToken: "${{ secrets.GITHUB_TOKEN }}" + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ARSYAF_WEB }}" channelId: live projectId: arsyaf-web