Skip to content

OEL-3421: Modal trigger accessible. #1236

OEL-3421: Modal trigger accessible.

OEL-3421: Modal trigger accessible. #1236

Workflow file for this run

# .github/workflows/chromatic.yml
# Workflow name
name: 'deployment on chromatic'
# Event for the workflow
on:
push:
branches-ignore:
- "master"
- "development"
- "dependabot/**"
jobs:
chromatic-deployment-theme:
runs-on: ubuntu-latest
if: ${{ contains(github.ref, '#') && contains(github.event.head_commit.message, '[chromatic]') }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Get project to be deployed
shell: bash
run: echo "##[set-output name=branch;]$(grep -oP '(?<=#).*?(?=#)' <<< ${GITHUB_REF})"
id: extract_branch
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
buildScriptName: "build:chromatic:${{ steps.extract_branch.outputs.branch }}"
exitOnceUploaded: true
exitZeroOnChanges: true