Skip to content

fix: update CI workflows from yarn to npm, add CNAME for GitHub Pages #15

fix: update CI workflows from yarn to npm, add CNAME for GitHub Pages

fix: update CI workflows from yarn to npm, add CNAME for GitHub Pages #15

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
- run: npm ci
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./dist
cname: simpleserialize.com