Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
refactor: deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
claustra01 committed Aug 5, 2024
1 parent c739e9d commit 44ca5bd
Showing 1 changed file with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
name: Deploy to Firebase Hosting
name: deploy

on:
push:
branches:
- main
# branches:
# - main

jobs:
build_and_deploy:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: |
npm install
npm run build
deploy:
needs: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: npm install && npm run build

- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down

0 comments on commit 44ca5bd

Please sign in to comment.