fddayan/chromatic should deploy
Checks if storybook build changed from previous commit
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| artifactName | The artifact name to store | yes | — |
| previousSha | Previous sha commit to checkout to build storybook in case artifact is not present. | no | ${{github.event.before}} |
| GITHUB_TOKEN | The GitHub access token (e.g. secrets.GITHUB_TOKEN) used to create or update the comment. This defaults to {{ github.token }}. | no | ${{ github.token }} |
| storybookBuildCommand | Command to run to build storybook. | no | npm run build-storybook |
| debug | if set to true it will upload the output of storybook build as artifacts. | no | false |
| checkoutRepoFolder | The folder to checkout the second repository with the previous commit to build Storybook | no | previous |
| storybookStaticDir | Output build directory for Storybook | no | storybook-static |
| artifactWorkflow | Workflow to look for artifacts uploaded by this action | yes | — |
| artifactBranch | The branch to look for artifacts uploaded by this action | no | ${{ github.event.pull_request.head.ref }} |
| artifactDownloadPath | The path to download the artifacts uploaded by this action | no | storybook-hash |
| forceDeploy | forces a deploy to Chromatic | no | false |
Outputs
| name | description |
|---|---|
| shouldDeploy | TRUE/FALSE value if it should deploy chromatic based on previous build |