Skip to content

docs(rest-api): change order #211

docs(rest-api): change order

docs(rest-api): change order #211

Workflow file for this run

name: Docs
on:
push:
branches:
- master
paths:
- 'docs/**'
- '.github/workflows/pages.yml'
- LICENSE
- README.md
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate website with Scaladoc
run: sbt doc
- uses: actions/setup-node@v3
with:
node-version: 20.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