Skip to content

Revert "(test) Remove dot from the end of the sentence" #25

Revert "(test) Remove dot from the end of the sentence"

Revert "(test) Remove dot from the end of the sentence" #25

# This file was auto-generated by the Firebase CLI and updated by author to generate build
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18 # Ensure this matches your local Node.js version
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_REACT_PORTFOLIO_FEF74 }}'
channelId: live
projectId: react-portfolio-fef74