Merge pull request #44 from nickelghost/dependabot/npm_and_yarn/rollu… #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Deploy | |
on: | |
push: | |
branches: main | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
container: node:20-alpine | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm i | |
- name: Build the site | |
run: npm run build | |
- name: Deploy to Firebase Hosting | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
firebaseServiceAccount: "${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}" | |
projectId: personal-419019 | |
channelId: live |