Generate docs and publish to pages

This commit is contained in:
Michael Miller 2019-04-02 21:38:36 -06:00
parent fef8715ce1
commit 7a8ebf6db5

View file

@ -15,3 +15,16 @@ spec:
script: script:
- crystal tool format --check - crystal tool format --check
- crystal spec - crystal spec
pages:
stage: deploy
dependencies:
- spec
script:
- crystal docs
- mv docs/ public/
artifacts:
paths:
- public
only:
- master