Skip to content

Commit

Permalink
Merge pull request #115 from sappelhoff/deply_gh_pages_circleci
Browse files Browse the repository at this point in the history
configure circleci to auto deploy docs
  • Loading branch information
jasmainak authored Oct 14, 2018
2 parents 3e07aee + 6342b84 commit e88eb01
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,16 @@ jobs:
- store_artifacts:
path: doc/_build/html/
destination: html
- deploy:
name: github pages deployment
command: |
source activate testenv
if [ "${CIRCLE_BRANCH}" == "master" ]; then
echo "Deploying dev docs.";
git config --global user.email "circle@mne.com";
git config --global user.name "Circle Ci";
cd doc;
make install;
else
echo "No deployment (build: ${CIRCLE_BRANCH}).";
fi
1 change: 0 additions & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,5 @@ install:
cp -r html/* mne_bids.github.io && \
cd mne_bids.github.io && \
git add * && \
git add .nojekyll && \
git commit -a -m 'Make install' && \
git push

0 comments on commit e88eb01

Please # to comment.