Skip to content

Commit

Permalink
Add Github Action to deploy web editor nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
danim1130 committed Apr 24, 2024
1 parent 4f4a064 commit 055abca
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/firebase-hosting-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to Firebase Hosting on main branch push
on:
push:
branches:
- "**"
tags-ignore:
- "*"
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm i && npm run web-build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_GRID_EDITOR_WEB }}"
projectId: grid-editor-web
- run: echo ${{steps.firebase_deploy.outputs.urls}}

0 comments on commit 055abca

Please sign in to comment.