Skip to content

Update actions-introduction.component.html #35

Update actions-introduction.component.html

Update actions-introduction.component.html #35

Workflow file for this run

name: Build PR And Deploy
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
Build-Storybook:
if: github.event.action != 'closed'
uses: ./.github/workflows/build.yml
with:
pr-number: ${{ github.event.number }}
Build-And-Deploy-PR-Branch:
runs-on: ubuntu-latest
if: ${{ !failure() }}
needs: Build-Storybook
steps:
# Only needed because rossjrw/pr-preview-action needs to run in a git repo
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Download Storybook Assets
if: github.event.action != 'closed'
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/