From f16813be0c5aa148ed5587e3b8510b471dcf771a Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Tue, 17 Nov 2020 16:10:42 -0500 Subject: [PATCH] Removed hardcoded PR assumption. --- .github/workflows/storybook-links.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/storybook-links.yml b/.github/workflows/storybook-links.yml index d5d3cf7..d65c9c4 100644 --- a/.github/workflows/storybook-links.yml +++ b/.github/workflows/storybook-links.yml @@ -1,4 +1,4 @@ -name: Deploy Storybooks +name: Link to Storybooks on: push: paths: @@ -7,7 +7,7 @@ on: - 'react-ui/**' jobs: - deploy: + add-links: runs-on: ubuntu-latest env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -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"