Skip to content

Merge pull request #18 from code-dot-org/stephen/updated-baseline #15

Merge pull request #18 from code-dot-org/stephen/updated-baseline

Merge pull request #18 from code-dot-org/stephen/updated-baseline #15

name: Component-Library-Deploy
on:
workflow_dispatch:
push:
branches:
- staging
- staging-next
paths:
- 'frontend/packages/component-library/**'
- 'frontend/packages/component-library-styles/**'
- 'shared/**'
jobs:
setup:
runs-on: ubuntu-24.04
steps:
- name: Notify Eyes of Push
if: github.event_name == 'push'
run: |
curl -L -d '' -X POST "https://eyesapi.applitools.com/api/externals/github/push?apiKey=${{ secrets.APPLITOOLS_API_KEY }}&CommitSha=${{ github.sha }}&BranchName=${{ github.repository }}/${{ github.ref_name }}&ParentBranchName=staging"
ci:
uses: ./.github/workflows/component-library-ci.yml
secrets: inherit
deploy:
needs:
- ci
permissions:
contents: read
pages: write
id-token: write
environment:
name: component-library-storybook
runs-on: ubuntu-24.04
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
artifact_name: "component-library-storybook"