Skip to content

Commit

Permalink
switch to github pages for doc hosting (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Hurt authored Jan 28, 2020
1 parent cec07f5 commit b317248
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 100 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ go:

script:
- make travis

deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: docs/public
target_branch: gh-pages
fqdn: fabiolb.net
on:
branch: master
32 changes: 0 additions & 32 deletions Dockerfile-docs

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ travis:
consul --version
hugo version
make test
(cd docs && hugo --verbose --renderToMemory)
(cd docs && hugo --verbose)


# clean removes intermediate files
Expand Down
62 changes: 0 additions & 62 deletions docs.nomad

This file was deleted.

7 changes: 2 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

This is the source code for the https://fabiolb.net website.

It is built with [Hugo](https://gohugo.io/) and automatically deployed
via [Bamboo](https://www.atlassian.com/software/bamboo) and
[Nomad](https://www.nomadproject.io/) to [ENA](https://github.com/myENA)'s Docker infrastructure
and exposed through [Consul](https://consul.io/) and [Fabio](https://fabiolb.net/).
It is built with [Hugo](https://gohugo.io/) and automatically deployed to GitHub pages via
[Travis](https://travis-ci.org/).

The theme is [TheDocs](http://thetheme.io/thedocs/) from [TheTheme.io](http://thetheme.io/).

Expand All @@ -17,4 +15,3 @@ To render the page locally run the following command in the `fabio` root directo
$ hugo serve -s docs --disableFastRender

To view the site open http://localhost:1313/ in your browser.

1 change: 1 addition & 0 deletions docs/static/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fabiolb.net

0 comments on commit b317248

Please sign in to comment.