Skip to content

refactor(dpc/rest-api): reorganaize directory structures #231

refactor(dpc/rest-api): reorganaize directory structures

refactor(dpc/rest-api): reorganaize directory structures #231

Workflow file for this run

name: Docs
on:
push:
branches:
- master
paths:
- 'docs/**'
- '.github/workflows/pages.yml'
- LICENSE
- README.md
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate website with Scaladoc
run: sbt doc
- uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install npm dependencies
working-directory: ./docs/rest-api
run: npm install
- name: Generate REST API document
working-directory: ./docs/rest-api
run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: ./docs/dist
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4