Skip to content

Merge pull request #2249 from Teradata/fix/button #283

Merge pull request #2249 from Teradata/fix/button

Merge pull request #2249 from Teradata/fix/button #283

name: Deploy GitHub Pages
on:
push:
branches: [main]
jobs:
release:
name: Deploy Docs App
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.SEMANTIC_RELEASE_GH }}
persist-credentials: false
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npx ci
- name: Build story book artifacts
env:
NODE_OPTIONS: --max-old-space-size=4096
run: npx nx run components:build-storybook
- name: Deploy docs and storybook to GitHub pages
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GH }}
run: npm run ghpages:deploy