Skip to content

Commit

Permalink
Merge pull request #9 from mturley/fix-preview-comment
Browse files Browse the repository at this point in the history
fix(gh-actions): fix preview PR comment action
  • Loading branch information
mturley authored Aug 24, 2020
2 parents daff008 + 4c0daed commit fe7c334
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 fe7c334

Please sign in to comment.