Skip to content

Commit 7b1341c

Browse files
committed
ci(tree): 💚 Criado deploy-docs para storybook-react
1 parent ffbbfa6 commit 7b1341c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy docs-react
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 22
19+
20+
- run: npm ci
21+
22+
- run: npm run build
23+
24+
- name: Deploy storybook-react
25+
working-directory: ./documentations/react
26+
run: npm run deploy-storybook -- --ci --existing-output-dir=storybook-static
27+
env:
28+
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)