Skip to content

Merge pull request #1337 from GSA/v15.0.3 #113

Merge pull request #1337 from GSA/v15.0.3

Merge pull request #1337 from GSA/v15.0.3 #113

name: Deploy to Github Pages
on:
push:
branches:
- master
jobs:
Build-And-Deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install Node Packages
run: npm i
- name: Build Stackblitz HTMLs
run: npm run demo:stackblitzes
- name: Build Storybook Assets
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: npm run build-storybook-ng
- name: Add .nojekyll file to allow for node_modules to be included in bundle
run: touch storybook-static/.nojekyll
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: storybook-static