Skip to content

Commit

Permalink
chore: Update merge workflow action
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbsmith committed Oct 18, 2023
1 parent 81ce0b8 commit b444d5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Used for conventional commit ranges

- uses: Workday/canvas-kit-actions/install@v1
with:
Expand All @@ -23,14 +25,13 @@ jobs:
# for Chromatic rebaselining and publishing to GH Pages.
- name: Build Storybook
shell: bash
run: yarn build-storybook --quiet
run: yarn build-storybook

- name: Publish Storybook
if: steps.extract-branch.outputs.branch == 'main'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs
folder: docs/storybook/@workday/canvas-tokens-docs/

## Create a Chromatic baseline auto-accepting changes. Chromatic changes are already accepted
## in PRs, so we don't need to manually approve them here again. This new baseline will be
Expand All @@ -41,8 +42,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: chpt_a9e354687a28e6e
storybookBuildDir: docs
storybookBuildDir: docs/storybook/@workday/canvas-tokens-docs/
exitOnceUploaded: true
exitZeroOnChanges: true
autoAcceptChanges: true

0 comments on commit b444d5a

Please sign in to comment.