Skip to content

Commit

Permalink
Update GitHub Actions workflow for Firebase Hosting deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
arbisyarifudin committed Mar 12, 2024
1 parent 022f17a commit 3fedd75
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,26 @@ 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
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get build artifact
uses: actions/download-artifact@v3
with:
name: dist
- 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

0 comments on commit 3fedd75

Please sign in to comment.