Skip to content

Commit

Permalink
updated CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ravijar committed Dec 26, 2024
1 parent c902196 commit e86b923
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,24 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- uses: actions/checkout@v4
- run: npm run build

# Step 2: Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16 # Use the Node.js version your project requires

# Step 3: Install dependencies
- name: Install dependencies
run: npm install

# Step 4: Build the project
- name: Build project
run: npm run build

# Step 5: Deploy to Firebase Hosting
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e86b923

Please sign in to comment.