Skip to content

Merge branch 'main' of https://github.com/oldvis/gallery #15

Merge branch 'main' of https://github.com/oldvis/gallery

Merge branch 'main' of https://github.com/oldvis/gallery #15

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧
env:
# https://stackoverflow.com/questions/38558989/node-js-heap-out-of-memory/66914674#66914674
NODE_OPTIONS: --max_old_space_size=4096
run: |
npm install -g pnpm
pnpm install
pnpm run build
- name: Create 404 Page
run: cp dist/index.html dist/404.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: dist