Skip to content

Commit

Permalink
fix gh pages workflow (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-akamai authored Jul 2, 2024
1 parent 4e0a90e commit 187927a
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,31 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- run: npm ci
- run: npm run build-storybook

- name: Use Node.js v18.14.0
uses: actions/setup-node@v3
with:
node-version: "18.14"

- uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install Dependencies
run: yarn --frozen-lockfile

- run: yarn build-storybook

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "./storybook-static"

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 187927a

Please sign in to comment.