Skip to content

fix: add base path to resolve links properly in gh pages #3

fix: add base path to resolve links properly in gh pages

fix: add base path to resolve links properly in gh pages #3

Workflow file for this run

name: Build and deploy to pages
on:
push:
branches:
- may
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies and build
run: |
npm ci
npm run build
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./build
github_token: ${{ secrets.GITHUB_TOKEN }}