Skip to content

Commit cb83139

Browse files
author
Adam Butterworth
committed
docs: deploy docs to github pages
1 parent 23550aa commit cb83139

File tree

4 files changed

+11
-1512
lines changed

4 files changed

+11
-1512
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
coverage
55
dist
66
node_modules
7-
/docs/_API-body.md
7+
/docs/api
8+

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,18 @@ script:
44
- npm run lint
55
- npm run test
66
- npm run build
7+
- npm run docs
78
after_success:
89
- npx semantic-release
910
- codecov
11+
deploy:
12+
provider: pages
13+
skip_cleanup: false
14+
github_token: $GH_TOKEN
15+
keep_history: true
16+
local_dir: ./docs/api/@edx/frontend-platform/1.0.0-semantically-released
17+
on:
18+
branch: master
1019
env:
1120
global:
1221
# GH_TOKEN

0 commit comments

Comments
 (0)