Skip to content

Remove legacy exchanges examples and realign section order. #10

Remove legacy exchanges examples and realign section order.

Remove legacy exchanges examples and realign section order. #10

# API Documentation for VC-API
name: "Build and Publish VC-API Docs"
on:
push:
branches:
- main
jobs:
openapi-build:
name: "Prepare OAS Artifacts"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
# Check out repo, set up node, and install dependencies.
# @see https://github.com/actions/setup-node#usage
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
# Bundle OpenAPI Yaml Files
- name: "Prepare Documentation"
run: npm run build
# Publish `api` subfolder to GitHub Pages
- name: Deploy to GH Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./api
destination_dir: api