Skip to content

Instantly share code, notes, and snippets.

@s2terminal
Created May 7, 2019 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s2terminal/689944272f52a07a1d9165efc002a667 to your computer and use it in GitHub Desktop.
Save s2terminal/689944272f52a07a1d9165efc002a667 to your computer and use it in GitHub Desktop.
YARD documents on GitLab Pages
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