Skip to content

Pr branch 2

Pr branch 2 #27

Workflow file for this run

name: Build PR And Deploy
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
Build:
uses: ./.github/workflows/build.yml
with:
pr-number: ${{ github.event.number }}
Build-And-Deploy-PR-Branch:
runs-on: ubuntu-latest
needs: Build
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Download Storybook Assets
uses: actions/download-artifact@v4
with:
name: dist-without-markdown
path: ./storybook-static
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./storybook-static/