-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
language: python | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
|
||
before_script: | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "ferreolS" | ||
- git checkout release | ||
|
||
|
||
script: | ||
- cd Doc | ||
- mkdir build | ||
- cd build | ||
- git clone https://github.com/Biomedical-Imaging-Group/GlobalBioIm.git html | ||
- cd html | ||
- git symbolic-ref HEAD refs/heads/gh-pages # auto-switches branches to gh-pages | ||
- rm .git/index | ||
- git clean -fdx | ||
- cd ../.. | ||
- make html | ||
|
||
after_success: | ||
- cd build/html | ||
- touch .nojekyll | ||
- git add * | ||
- git add .nojekyll | ||
- git commit -a -m "Add Doc" | ||
- git push --force https://${GH_TOKEN}@github.com/Biomedical-Imaging-Group/GlobalBioIm.git gh-pages | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
sphinx | ||
sphinxcontrib-matlabdomain | ||
sphinx_rtd_theme | ||
sphinxcontrib-email |