Skip to content

Commit

Permalink
Update chromatic.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh authored Aug 23, 2022
1 parent a551c0f commit 0539276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ jobs:
exitZeroOnChanges: true # 👈 Option to prevent the workflow from failing
- name: Echo Storybook build link
if: ${{ success() }}
uses: actions/github-script@v3
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.createComment({
issue_number: ${{ context.issue.number }},
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Storybook has completed and can be viewed at ${{ steps.chromatic-pr.outputs.storybookUrl }}'
Expand Down

0 comments on commit 0539276

Please sign in to comment.