Skip to content

Commit

Permalink
🧱 ci: preparando arquivos para deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
joaotelesk committed Nov 13, 2023
1 parent 10fe183 commit 3bbf7fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-docks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- run: npm run build

- name: Deploy storybook
run: npm run build-sb
run: npm run deploy-sb
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint": "next lint",
"sb": "storybook dev -p 6006",
"build-sb": "storybook build --output-dir=./storybook-static",
"deploy-sb": "gh-pages -d storybook-static -b gh-pages -m 'Deploy Storybook to GitHub Pages'"
"deploy-sb": "npm run build-sb && gh-pages -d storybook-static -b gh-pages -m 'Deploy Storybook to GitHub Pages'"
},
"dependencies": {
"@radix-ui/react-slot": "1.0.2",
Expand Down

0 comments on commit 3bbf7fc

Please sign in to comment.