Skip to content

Commit

Permalink
Add job to build docs and store them in artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Aug 2, 2018
1 parent 6b59c06 commit e8d5ab7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
destination: coverage.txt
- codecov/upload:
path: coverage.txt
docs:
executor: go
steps:
- checkout
- run: sudo apt-get install pandoc
- run: go run main.go usage
- store_artifacts:
path: ./docs

lint:
docker:
Expand Down Expand Up @@ -81,6 +89,7 @@ workflows:
- test
- coverage
- lint
- docs
- deploy:
requires:
- test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ TODO
circleci-cli
coverage.txt
dist/
docs/
.vscode

0 comments on commit e8d5ab7

Please sign in to comment.