Skip to content

build: separate app and lib configs (#112) #51

build: separate app and lib configs (#112)

build: separate app and lib configs (#112) #51

Workflow file for this run

name: Build and deploy the app on GitHub Pages
on:
push:
branches:
- main
jobs:
pages:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build the app
run: npm run build:app
- name: Configure CNAME
run: echo spex.zazuko.com > dist/CNAME
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist