Skip to content

Commit

Permalink
Removed hardcoded PR assumption.
Browse files Browse the repository at this point in the history
  • Loading branch information
patcon committed Nov 17, 2020
1 parent 63e5d0a commit f16813b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/storybook-links.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Storybooks
name: Link to Storybooks
on:
push:
paths:
Expand All @@ -7,7 +7,7 @@ on:
- 'react-ui/**'

jobs:
deploy:
add-links:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -31,7 +31,6 @@ jobs:
run: npm install -g commit-status

- name: Set commit status messages and success states
if: github.event.pull_request.head.repo.full_name == github.repository
run: |
commit-status success "Storybook: React UI" "Available a few minutes after push." "https://${{ steps.extract-branch.outputs.branch }}--5f9b7272e5c4a70022388106.chromatic.com/"
commit-status success "Storybook: Airtable app (Email)" "Available a few minutes after push." "https://${{ steps.extract-branch.outputs.branch }}--5fb3fd84c168100021f7aa64.chromatic.com"

0 comments on commit f16813b

Please sign in to comment.