Skip to content

Fix asset catalog loading state showing "No assets found" while asset selection filtering is loading. #8558

Fix asset catalog loading state showing "No assets found" while asset selection filtering is loading.

Fix asset catalog loading state showing "No assets found" while asset selection filtering is loading. #8558

name: Deploy Storybook
on:
push:
branches:
- master
paths:
- js_modules/dagster-ui/packages/ui-core/**
pull_request:
paths:
- js_modules/dagster-ui/packages/ui-core/**
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Get branch preview subdomain
if: github.event_name == 'pull_request'
env:
HEAD_REF: ${{ github.head_ref }}
REF_NAME: ${{ github.ref_name }}
run: |
BRANCH_PREVIEW_SUBDOMAIN=$(echo "${HEAD_REF:-$REF_NAME}" | sed -e 's/[^a-zA-Z0-9-]/-/g; s/^-*//; s/-*$//')
echo "$BRANCH_PREVIEW_SUBDOMAIN"
echo "BRANCH_PREVIEW_SUBDOMAIN=$BRANCH_PREVIEW_SUBDOMAIN" >> "${GITHUB_ENV}"
- uses: actions/checkout@v4
- uses: amondnet/vercel-action@v25
if: github.event_name == 'pull_request'
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.STORYBOOK_CORE_VERCEL_PROJECT_ID }}
github-token: ${{ secrets.GITHUB_TOKEN }}
scope: ${{ secrets.VERCEL_ORG_ID }}
alias-domains: ${{ env.BRANCH_PREVIEW_SUBDOMAIN }}.core-storybook.dagster-docs.io
- uses: amondnet/vercel-action@v25
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.STORYBOOK_CORE_VERCEL_PROJECT_ID }}
vercel-args: '--prod'
github-token: ${{ secrets.GITHUB_TOKEN }}
scope: ${{ secrets.VERCEL_ORG_ID }}