Skip to content

Commit

Permalink
ci: add docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
felipprodrigues committed Oct 10, 2023
1 parent 47c6f74 commit 1416c8f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy Docs

on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- run: npm ci

- run: npm run build

- name: Deploy storybook
working-directory: ./packages/docs
run: npm run deploy-storybook -- --ci --existing-output-dir=storybook-static
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1416c8f

Please sign in to comment.