database batching (#1858) #190
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deploys the static website for the UI storybook to "preview" environment, | |
# on every merge into main branch. | |
name: Deploy UI to preview | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Protobuf codegen | |
run: pnpm proto | |
working-directory: packages/protobuf | |
- name: Build static site | |
run: pnpm build-storybook | |
working-directory: packages/ui | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: ${{ secrets.GITHUB_TOKEN }} | |
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PENUMBRA_UI }} | |
channelId: live | |
target: preview | |
entryPoint: packages/ui | |
projectId: penumbra-ui |