Skip to content

Commit

Permalink
push to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Jan 22, 2018
1 parent 5ebe412 commit 5b57c4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ catkin_topological_order | while read line; do
echo "Package $PKGNAME does not have www directory"
fi
done

## add index html for gh-pages
sed 's@(\(.*\)/README.md)@(\1)@' README.md > $DEST_DIR/README.md
echo "All copy done!"
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,15 @@ script:
- catkin build
- source devel/setup.bash
after_success:
- chmod +x $CI_SOURCE_PATH/.deploy.sh
- $CI_SOURCE_PATH/.deploy.sh
- cd $CI_SOURCE_PATH # This is for deploy section
deploy:
provider: pages
skip_cleanup: true
github_token: $GH_TOKEN
local_dir: $PUBLISHED_DIR
target_branch: master
keep_history: true
target_branch: gh-pages
keep_history: false
on:
branch: kinetic-devel # set to default branch
condition: "$ROS_DISTRO = indigo"

0 comments on commit 5b57c4a

Please sign in to comment.