Forked from aronbudinszky/generate-docs-gitlab.yml
Created
September 1, 2020 14:05
-
-
Save kkrieger85/740ab535e6176f3944536762e9ea1665 to your computer and use it in GitHub Desktop.
Generate docs from open api spec in Gitlab using a shared runner.
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
image: node:latest | |
pages: | |
stage: deploy | |
script: | |
- npm install -g redoc-cli | |
- redoc-cli bundle -o public/index.html documentation/openapi.yaml | |
artifacts: | |
paths: | |
- public | |
only: | |
- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment