Commit f3eef01
committed
ci: Fix build-storybook workflow again
There are still a couple of issues with the `build-storybook` workflow
that prevent it from running effectively.
1. The environment is incorrectly named (should be `default-branch`).
I've fixed this.
2. The `deploy-storybook` job is not running even on pushes to `main`.
It seems that we are checking for the existence of a
`STORYBOOK_TOKEN` environment variable when we should be checking for
the secret. Although in practice, the secret has been required this
whole time so the conditional seems redundant. I've corrected this by
making the secret optional.1 parent 16b249f commit f3eef01
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments