We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 799fb00 commit 80a6bb4Copy full SHA for 80a6bb4
1 file changed
.github/workflows/storybook.yml
@@ -4,14 +4,17 @@ on:
4
push:
5
branches: [main]
6
7
+permissions:
8
+ contents: write # push to gh-pages-storybook branch
9
+
10
jobs:
11
build-and-deploy-storybook:
12
runs-on: ubuntu-latest
13
steps:
14
- name: Checkout 🛎️
- uses: actions/checkout@v3
15
+ uses: actions/checkout@v4
16
with:
- persist-credentials: false
17
+ fetch-depth: 0
18
- uses: pnpm/action-setup@v4
19
20
version: 10.27.0
@@ -20,8 +23,8 @@ jobs:
23
node-version: 22
21
24
cache: 'pnpm'
22
25
- name: Install and Build 🔧
- run: | # Install npm packages and build the Storybook files
- pnpm install
26
+ run: |
27
+ pnpm install --frozen-lockfile
28
pnpm run build:storybook
29
- name: Add .nojekyll file to static folder 📁
30
run:
@@ -32,3 +35,4 @@ jobs:
32
35
33
36
branch: gh-pages-storybook
34
37
folder: storybook-static
38
+ clean: true
0 commit comments