Skip to content

Commit

Permalink
chore: Fix storybook deployment action
Browse files Browse the repository at this point in the history
  • Loading branch information
WillsonHaw committed Jan 11, 2025
1 parent 2c2fd99 commit 911cfa5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
# this by using our own GH_TOKEN_REPO_ACCESS organization secret.
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO_ACCESS }}

- name: Upload storybook static files as artifact
uses: actions/upload-pages-artifact@v3
with:
path: apps/storybook/dist/

deploy-pages:
needs: release
name: Deploy Docs to GitHub Pages
Expand All @@ -66,11 +71,6 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3
with:
path: apps/storybook/dist/

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

0 comments on commit 911cfa5

Please sign in to comment.