Skip to content

chore(deps): update actions/setup-node action to v6.4.0 (#371) #247

chore(deps): update actions/setup-node action to v6.4.0 (#371)

chore(deps): update actions/setup-node action to v6.4.0 (#371) #247

---
name: Deploy documentation πŸ“–
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v6.0.2
- name: Install and Build πŸ”§
run: |
npm ci
mkdir html
touch html/.nojekyll
node src/cli.js -i schemata -o html/index.html
ls -ltur html
- name: Deploy πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: html
branch: gh-pages
clean-exclude: pr-preview