Skip to content

Merge pull request #1 from SigmaGmbH/nft-icons #3

Merge pull request #1 from SigmaGmbH/nft-icons

Merge pull request #1 from SigmaGmbH/nft-icons #3

Workflow file for this run

name: Deploy storybook to GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Test
runs-on: ubuntu-latest
permissions: write-all
environment: production
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
- name: 'Extend memory'
run: |
export NODE_OPTIONS="--max_old_space_size=16384"
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Run package install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Run build
uses: borales/actions-yarn@v4
with:
cmd: build-storybook
- name: Deploy landing to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: storybook-static