Skip to content

docs: added cname for js-org domain #8

docs: added cname for js-org domain

docs: added cname for js-org domain #8

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
push:
branches:
- main
paths:
- "docs/**"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install dependencies
run: cd docs && npm install
- name: Build project
run: npm run docs:build
# working-directory: ./docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PA_TOKEN }}
publish_dir: ./docs/.vitepress/dist