Skip to content

Merge pull request #2 from tutods/dependabot/npm_and_yarn/postcss-8.4.31 #36

Merge pull request #2 from tutods/dependabot/npm_and_yarn/postcss-8.4.31

Merge pull request #2 from tutods/dependabot/npm_and_yarn/postcss-8.4.31 #36

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npm run build
env:
TURBO_TOKEN: ${{secrets.TURBO_TOKEN}}
TURBO_TEAM: tutods
- name: Deploy storybook
working-directory: ./packages/docs
run: |
touch storybook-static/.nojekyll
npm run deploy -- --ci --existing-output-dir=storybook-static
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}