Skip to content

Commit 91d983f

Browse files
committed
ci(storybook): add debug step
1 parent 5bfaef1 commit 91d983f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/storybook-deploy.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,23 @@ jobs:
3131
- name: Build Storybook
3232
run: npm run build-storybook
3333

34+
- name: Debug list Storybook output
35+
run: |
36+
echo "Working directory: $(pwd)"
37+
echo "List repository root:"
38+
ls -la
39+
echo "Check for storybook-static directory:"
40+
if [ -d ./storybook-static ]; then
41+
echo "storybook-static exists - listing contents:"
42+
ls -la ./storybook-static
43+
else
44+
echo "storybook-static does not exist at ./storybook-static"
45+
fi
46+
3447
- name: Deploy to GitHub Pages
3548
uses: peaceiris/actions-gh-pages@v4
3649
with:
3750
publish_dir: ./storybook-static
38-
# Use the GitHub token provided by Actions
3951
github_token: ${{ secrets.GITHUB_TOKEN }}
4052
publish_branch: gh-pages
4153
keep_files: false

0 commit comments

Comments
 (0)