Skip to content

Commit

Permalink
fix(gh-actions): fix preview PR comment action
Browse files Browse the repository at this point in the history
  • Loading branch information
mturley committed Aug 24, 2020
1 parent daff008 commit 4c0daed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy-pr-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
- name: Deploy Storybook to Surge
run: surge ./storybook-static/ "${{steps.surge-url.outputs.result}}" --token ${{ secrets.SURGE_TOKEN }}
- name: Post URL as PR comment
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
uses: mshick/add-pr-comment@v1
with:
msg: '✨ Deployed Storybook Preview: http://${{steps.surge-url.outputs.result}}'
message: "✨ Deployed Storybook Preview: http://${{steps.surge-url.outputs.result}}"
repo-token: ${{ secrets.GH_TOKEN }}

0 comments on commit 4c0daed

Please sign in to comment.