Skip to content

Commit

Permalink
fix github action yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imagine10255 committed Oct 27, 2024
1 parent 6b81184 commit 3ed8be2
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build Storybook
run: yarn build-storybook

- name: Install Wrangler
run: yarn global add wrangler

- name: Deploy to Cloudflare Pages
run: wrangler pages deploy ./storybook-static --project-name=bear-react-carousel-storybook --branch main
- name: Build Storybook & Deploy to Cloudflare Pages
run: yarn pages:deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 comments on commit 3ed8be2

Please sign in to comment.