Skip to content

Release v0.1.18

Release v0.1.18 #8

Workflow file for this run

name: Deploy Documentation
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'docs/**'
- 'docs-site/**'
- '.github/workflows/docs.yml'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Sync Design Tokens
run: node scripts/sync-design-tokens.cjs
- name: Build static site
run: npm run docs:build
- name: Deploy to lekha.github.io
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs-site-dist
repository-name: WGLabz/thenotelyapp.github.io
branch: main
token: ${{ secrets.DEPLOY_DOCS_TOKEN || secrets.GITHUB_TOKEN }}
clean: true