Skip to content

Commit

Permalink
chore(workflows): change Docs job to be triggered by PR and to be use…
Browse files Browse the repository at this point in the history
…d by Netlify
  • Loading branch information
julien-deramond committed Feb 26, 2024
1 parent 3c5d29f commit 8db1750
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Docs
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

env:
FORCE_COLOR: 2
Expand All @@ -23,8 +22,3 @@ jobs:
run: npm ci
- name: Build Storybook
run: npm run build-storybook
- name: Deploy Storybook
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
npm run deploy-storybook

0 comments on commit 8db1750

Please sign in to comment.