Created
May 1, 2018 23:28
-
-
Save jamesbvaughan/21dacfe590d4b6a44b8fe34ae935171f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
set -e | |
echo "Cloning necessary repositories..." | |
git clone https://github.com/neomutt/neomutt | |
git clone --recursive https://github.com/neomutt/neomutt.github.io | |
git clone https://github.com/neomutt/doxygen | |
cd neomutt | |
echo "Generating docs with doxygen..." | |
doxygen doxygen/doxygen.conf | |
cd ../doxygen | |
echo "Removing old docs..." | |
git rm -r ./* | |
echo "Copying in new docs..." | |
cp -r ../neomutt/html/* ./ | |
echo "Committing and pushing changes..." | |
git commit --all -m "Update docs" | |
git push origin master | |
cd ../neomutt.github.io/code | |
echo "Updating code docs submodule..." | |
git pull | |
cd .. | |
echo "Committing and pushing updated code docs..." | |
git commit --all -m "Updated docs submodule" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment