Skip to content

Commit 9b7f478

Browse files
committed
refactor: chromatic yml pr message fix (#172)
1 parent ab59365 commit 9b7f478

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/chromatic.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ jobs:
2121
autoAcceptChanges: true
2222
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
2323

24-
github-bot-storybook:
25-
runs-on: ubuntu-latest
26-
needs: [chromatic-deployment]
27-
steps:
28-
- name: Create comment PR
29-
uses: thollander/actions-comment-pull-request@v2
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.TOKEN }}
32-
with:
33-
comment_tag: ${{github.event.number}}-storybook
34-
message: "storybook: ${{steps.chromatic.outputs.storybookUrl }}"
24+
- name: Save PR number and Chromatic build outputs
25+
run: |
26+
mkdir -p ./pr
27+
echo "${{ github.event.pull_request.number }}" > ./pr/prNumber
28+
echo "${{ steps.chromatic.outputs.storybookUrl }}" > ./pr/storybookUrl
29+
echo "${{ steps.chromatic.outputs.buildUrl }}" > ./pr/buildUrl

0 commit comments

Comments
 (0)