Skip to content

Commit

Permalink
Add github action for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
vramdhanie committed Oct 2, 2024
1 parent d030dae commit 0f7e1af
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to Live Site

on:
push:
branches:
- main
# Optionally configure to run only for specific files. For example:
# paths:
# - "website/**"

jobs:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Add any build steps here. For example:
# - run: npm ci && npm run build
- run: yarn install
- run: yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
firebaseServiceAccount: '${{ secrets._TOKEN }}'
projectId: ${{ secrets.PROJECT_ID }}
channelId: live

0 comments on commit 0f7e1af

Please sign in to comment.