Skip to content

ci: moved sdk-js doc into it's own sub page #3

ci: moved sdk-js doc into it's own sub page

ci: moved sdk-js doc into it's own sub page #3

Workflow file for this run

name: Build and Deploy SDK documentation
on:
push:
branches:
- master
paths:
- '.github/workflows/sdk-doc.yml'
- 'src/sdk/**'
workflow_dispatch:
jobs:
build-and-deploy:
permissions:
contents: write
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node ⚙️
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies ⚙️
run: npm ci --prefix src/sdk
- name: Build documentation 🔧
run: npm run build:docs --prefix src/sdk
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: src/sdk/docs
target-folder: sdk-js