ci(test-unit): remove debug code
@@ -5,25 +5,27 @@ on:
status
jobs:
- debugging:
+ link-storybook:
runs-on: ubuntu-latest
+ if: >-
+ github.event.state == 'success' &&
+ contains(github.event.context, 'build-storybook')
steps:
- # TODO(danh): remove this once we understand the incoming event webhook
- # payload and can limit the conditional
- - name: Debug
- run:
- echo '${{ toJSON(github.event) }}' && exit 1
- link-artifacts:
- runs-on: ubuntu-latest
- # if: >-
- # github.event.state == 'success' &&
- # github.event.context == 'test-e2e'
- steps:
- - run:
- exit 1
- uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifact-path: 0/webui/react/build-storybook/index.html
circleci-jobs: build-storybook
job-title: Check the rendered storybook here!
+ link-docs:
+ runs-on: ubuntu-latest
+ if: >-
+ github.event.state == 'success' &&
+ contains(github.event.context, 'build-docs')
+ steps:
+ - uses: larsoner/circleci-artifacts-redirector-action@master
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ artifact-path: 0/docs/site/html/index.html
+ circleci-jobs: build-docs
+ job-title: Check the rendered doc pages here!
