Skip to content

Publish API Documentation #2

Publish API Documentation

Publish API Documentation #2

name: Publish API Documentation
'on':
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
ref: 1.1.0
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: make deps init-spec doc-latest doc-version
- run: >-
CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot
<blah+pakkun@cliffano.com>" --repo "https://cliffano:${{
secrets.OAPICF_GITHUB_TOKEN
}}@github.com/oapicf/openapi-iplocation.git"