Skip to content

Commit

Permalink
Followed deploy to firebase hosting on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijunfong committed Apr 25, 2024
1 parent 6f173b4 commit 04911de
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/firebase-hosting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,21 @@

name: Deploy to Firebase Hosting

'on':
on:
push:
branches:
- main

jobs:
build_and_deploy:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@main
# Add any build steps here. For example:
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
projectId: voy8ger-da2af
channelId: live
projectId: your-project-id

0 comments on commit 04911de

Please sign in to comment.