[wip] try skip io manager for materialize result by propogating materialize result type through to execute step #946
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
name: Deploy Storybook | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- js_modules/dagster-ui/packages/ui-components/** | |
pull_request: | |
paths: | |
- js_modules/dagster-ui/packages/ui-components/** | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get branch preview subdomain | |
if: github.event_name == 'pull_request' | |
run: | | |
BRANCH_PREVIEW_SUBDOMAIN=$(echo "${{ github.head_ref || github.ref_name }}" | sed 's/[^a-zA-Z0-9-]/-/g' | sed 's/^-*//' | sed 's/-*$//') | |
echo "$BRANCH_PREVIEW_SUBDOMAIN" | |
echo "BRANCH_PREVIEW_SUBDOMAIN=$BRANCH_PREVIEW_SUBDOMAIN" >> "${GITHUB_ENV}" | |
- uses: actions/checkout@v3 | |
- 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_UI_VERCEL_PROJECT_ID }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
scope: ${{ secrets.VERCEL_ORG_ID }} | |
alias-domains: ${{ env.BRANCH_PREVIEW_SUBDOMAIN }}.components-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_UI_VERCEL_PROJECT_ID }} | |
vercel-args: '--prod' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
scope: ${{ secrets.VERCEL_ORG_ID }} |