Skip to content

Commit

Permalink
Merge pull request #885 from wisestuart/config-file-in-gha
Browse files Browse the repository at this point in the history
Add configFile option to GitHub Action
  • Loading branch information
JonathanKolnik authored Jan 12, 2024
2 parents abd3206 + 0495a31 commit 3fc494e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action-src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ async function run() {
const autoAcceptChanges = getInput('autoAcceptChanges');
const branchName = getInput('branchName');
const buildScriptName = getInput('buildScriptName');
const configFile = getInput('configFile');
const debug = getInput('debug');
const diagnosticsFile = getInput('diagnosticsFile') || getInput('diagnostics');
const dryRun = getInput('dryRun');
Expand Down Expand Up @@ -137,6 +138,7 @@ async function run() {
autoAcceptChanges: maybe(autoAcceptChanges),
branchName: maybe(branchName),
buildScriptName: maybe(buildScriptName),
configFile: maybe(configFile),
debug: maybe(debug),
diagnosticsFile: maybe(diagnosticsFile),
dryRun: maybe(dryRun),
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ inputs:
buildScriptName:
description: 'The npm script that builds your Storybook [build-storybook]'
required: false
configFile:
description: 'Path from where to load the Chromatic config JSON file.'
required: false
debug:
description: 'Output verbose debugging information'
required: false
Expand Down

0 comments on commit 3fc494e

Please sign in to comment.