Skip to content

Commit

Permalink
Travis-CI for mdbook and gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
milesfrain committed Apr 14, 2020
1 parent 2e19554 commit 5afb867
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
os: linux
language: shell
install:
- wget https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz
- tar -xzvf mdbook-*.tar.gz
script:
./mdbook build
deploy:
edge: true # use Travis-CI dpl v2
provider: pages
local_dir: book
token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
on:
branch: travis-demo # Will default to master branch if on.branch is removed
6 changes: 6 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[book]
authors = ["Phil Freeman"]
language = "en"
multilingual = false
src = "text"
title = "PureScript by Example"
16 changes: 16 additions & 0 deletions text/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Summary

* [Introduction](chapter1.md)
* [Getting Started](chapter2.md)
* [Functions and Records](chapter3.md)
* [Recursion, Maps And Folds](chapter4.md)
* [Pattern Matching](chapter5.md)
* [Type Classes](chapter6.md)
* [Applicative Validation](chapter7.md)
* [The Effect and Aff Monads](chapter8.md)
* [Canvas Graphics](chapter9.md)
* [The Foreign Function Interface](chapter10.md)
* [Monadic Adventures](chapter11.md)
* [Callback Hell](chapter12.md)
* [Generative Testing](chapter13.md)
* [Domain-Specific Languages](chapter14.md)

0 comments on commit 5afb867

Please sign in to comment.