Skip to content

Commit 183f2e5

Browse files
committed
fix docs workflow permissions
1 parent d79a47f commit 183f2e5

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

‎.github/workflows/documentation.yml‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
name: storybook
5454
path: src/client/storybook-static
5555

56-
# Build docs and merge Storybook
56+
# Build Jekyll docs and merge Storybook
5757
pages:
5858
runs-on: ubuntu-latest
5959
needs: storybook
@@ -70,19 +70,24 @@ jobs:
7070
- name: Setup Pages
7171
uses: actions/configure-pages@v5
7272

73+
# Build Jekyll site into temporary folder
7374
- name: Build Jekyll Site
7475
uses: actions/jekyll-build-pages@v1
7576
with:
7677
source: ./docs
77-
destination: ./_site
78+
destination: ./jekyll_site
7879

80+
# Merge Storybook into site
7981
- name: Merge Storybook into site
8082
run: |
81-
mkdir -p _site/storybook
82-
cp -a storybook-static/* _site/storybook/
83+
mkdir -p jekyll_site/storybook
84+
cp -a storybook-static/* jekyll_site/storybook/
8385
86+
# Upload merged site as Pages artifact
8487
- name: Upload Pages Artifact
8588
uses: actions/upload-pages-artifact@v4
89+
with:
90+
path: jekyll_site
8691

8792
# Deploy to GitHub Pages
8893
deploy:

0 commit comments

Comments
 (0)