Skip to content

chore: pull request template (#1966) #263

chore: pull request template (#1966)

chore: pull request template (#1966) #263

# 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