-
Notifications
You must be signed in to change notification settings - Fork 106
40 lines (33 loc) · 926 Bytes
/
gh-pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: make_gh_pages
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
make_storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
scope: brianzinn
# if you add loader src/codesandbox-templates large files will OOM
# - name: Set Swap Space
# if: runner.os == 'Linux'
# uses: pierotofy/set-swap-space@v1.0
# with:
# swap-size-gb: 4
- name: install build react-babylon
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
npm install -g yarn
yarn install
yarn build
- name: deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: packages/static/public