You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error during the build-storybook step, where foo is the repo:
Error: Exec code(1) on executing: npm run build-storybook -- -o out6551
info @storybook/react v6.5.9
info
info => Cleaning outputDir: /home/runner/work/foo/foo/out6551
info => Loading presets
/home/runner/work/foo/foo/node_modules/@storybook/core-server/dist/cjs/utils/server-statics.js:109
throw new Error((0, _tsDedent.default)((0, _chalk.default)`
^
Error: Failed to load static files, no such directory: /home/runner/work/foo/foo/public
Make sure this directory exists, or omit the -s (--static-dir) option.
Build step fails when deploying via GH Actions
With a workflow like this:
I get the following error during the
build-storybookstep, wherefoois the repo:I've even tried this with
Steps to reproduce the behavior
mainbranch or tweak the workflowExpected behavior
It should successfully deploy to gh-pages
Environment
ubuntu-latestGH Actions CI