Deploy docs via travis

This commit is contained in:
Vitalii Elenhaupt 2017-11-15 01:02:07 +02:00
parent 87396e850d
commit 00c13fceee
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,13 @@
language: crystal language: crystal
script: script:
- make test - make test
- sed -i -e 's:<.*>::g' README.md
- crystal docs
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
project_name: ameba
on:
branch: master
local_dir: doc

View file

@ -41,14 +41,14 @@ Compile and install `ameba` binary onto your system while running `crystal deps`
### OS X ### OS X
``` ```sh
$ brew tap veelenga/tap $ brew tap veelenga/tap
$ brew install ameba $ brew install ameba
``` ```
### From sources ### From sources
``` ```sh
$ git clone https://github.com/veelenga/ameba && cd ameba $ git clone https://github.com/veelenga/ameba && cd ameba
$ make install $ make install
``` ```