Skip to content

Commit f99ffc2

Browse files
dannylambrosiel
authored andcommitted
Deploying docs with Travis (Islandora#1376)
1 parent b70bc5b commit f99ffc2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
sudo: true
2+
language: python
3+
4+
matrix:
5+
fast_finish: true
6+
7+
branches:
8+
only:
9+
- /master/
10+
11+
install:
12+
- git clone https://github.com/Islandora/documentation.git $HOME/islandora
13+
- pip install mkdocs
14+
- pip install mkdocs-material
15+
16+
script:
17+
- cd $HOME/islandora
18+
- mkdocs build --clean
19+
20+
deploy:
21+
provider: pages
22+
local_dir: site
23+
skip_cleanup: true
24+
github_token: $GITHUB_TOKEN
25+
keep_history: true
26+
on:
27+
branch: master

0 commit comments

Comments
 (0)