Last active
May 14, 2022 18:21
-
-
Save aronbudinszky/cfed61ff04bc25601f040e75b6880d40 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