add apidocs

This commit is contained in:
Peter Rounce 2023-02-07 15:29:35 +00:00 committed by GitHub
parent 53a8e1f581
commit 1b67499da1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,6 @@ on:
branches: [ "main" ] branches: [ "main" ]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -33,3 +31,18 @@ jobs:
- name: Test - name: Test
run: go test -v ./... run: go test -v ./...
apidoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create docs
uses: actions/apidoc@v1
with:
input: /
output: docs
- name: List docs
run: ls -l docs