Created
May 7, 2019 13:28
-
-
Save s2terminal/689944272f52a07a1d9165efc002a667 to your computer and use it in GitHub Desktop.
YARD documents on GitLab Pages
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: ruby:2.6.1-alpine | |
pages: | |
script: | |
- apk add --update --no-cache build-base libxml2-dev libxslt-dev libstdc++ tzdata mariadb-dev nodejs ca-certificates yarn | |
- bundle install --path vendor | |
- bundle exec yard | |
- rm -rf public | |
- mv doc public | |
artifacts: | |
paths: | |
- public | |
cache: | |
paths: | |
- vendor | |
only: | |
- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment