Skip to content

Try deploying from ./dist #13

Try deploying from ./dist

Try deploying from ./dist #13

Workflow file for this run

name: Build Documentation
permissions:
contents: write
pages: write
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies & build
run: |
npm install
npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./dist
github_token: ${{ secrets.GITHUB_TOKEN }}
# cname: scrollmirror.js.org