-
Notifications
You must be signed in to change notification settings - Fork 18
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
1 parent
9798ec1
commit 84e71f2
Showing
7 changed files
with
18 additions
and
18 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[](https://travis-ci.org/AUV-IITK/auv) | ||
[](https://travis-ci.org/AUV-IITK/auv2016) | ||
|
||
Under development. Like seriously. |
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# | ||
|
||
function doCompile { | ||
~/catkin_ws/src/auv/utils/generate_docs.sh | ||
~/catkin_ws/src/auv2016/utils/generate_docs.sh | ||
} | ||
|
||
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify | ||
|
@@ -16,20 +16,20 @@ fi | |
|
||
# Clone the existing gh-pages for this repo into html/ | ||
# Create a new empty branch if gh-pages doesn't exist yet (should only happen on first deply) | ||
git clone "https://github.com/AUV-IITK/auv.git" ~/catkin_ws/src/auv/html/ | ||
cd ~/catkin_ws/src/auv/html/ | ||
git clone "https://github.com/AUV-IITK/auv2016.git" ~/catkin_ws/src/auv2016/html/ | ||
cd ~/catkin_ws/src/auv2016/html/ | ||
|
||
# Save some useful information | ||
export SHA=`git rev-parse --verify HEAD` | ||
git checkout -b gh-pages origin/gh-pages | ||
cd .. | ||
# Clean html/ existing contents except .git folder | ||
rm -rf ~/catkin_ws/src/auv/html/* | ||
rm -rf ~/catkin_ws/src/auv2016/html/* | ||
# Run our compile script | ||
echo "compile docs" | ||
doCompile | ||
# Now let's go have some fun with the cloned repo | ||
cd ~/catkin_ws/src/auv/html/ | ||
cd ~/catkin_ws/src/auv2016/html/ | ||
echo "git config" | ||
git config user.name "Shikher Verma" | ||
git config user.email "[email protected]" | ||
|
@@ -40,4 +40,4 @@ echo "git commit" | |
git commit -m "Deploy $SHA" | ||
|
||
# Now that we're all set up, we can push. | ||
git push -f -q https://ShikherVerma:$GH_TOKEN@github.com/AUV-IITK/auv.git gh-pages | ||
git push -f -q https://ShikherVerma:$GH_TOKEN@github.com/AUV-IITK/auv2016.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
# | ||
# This script generates documentation of all the packages in auv repo. | ||
# This script generates documentation of all the packages in auv2016 repo. | ||
# | ||
(cd ~/catkin_ws/src/auv && | ||
(cd ~/catkin_ws/src/auv2016 && | ||
doxygen ) |
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
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