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 3249d18 commit 6f20b55
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy-docks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deplyoy meninadeux-design-kit
name: Deplyoy Doc

on:
push:
Expand All @@ -10,17 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- run: npm ci

- run: npm run build

- name: Deploy storybook
run: npm run sb-build -- --ci --existing-output-dir=storybook-static
run: npm run deploy-sb -- --ci --existing-output-dir=storybook-static
env:
GH_TOKEN: ${{ github.acotr }}:${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6f20b55

Please sign in to comment.