Remove legacy exchanges examples and realign section order. #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |