Skip to content

ci: add turborepo cache on deploy build #5

ci: add turborepo cache on deploy build

ci: add turborepo cache on deploy build #5

Workflow file for this run

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
env:
TURBO_TOKEN: Djm2tkQAsPSabrZOOC3iBLxw
TURBO_TEAM: felipprodrigues
- name: Deploy storybook
working-directory: ./packages/docs
run: touch storybook-static/.nojekyll && npm run deploy-storybook -- --ci --existing-output-dir=storybook-static
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}