Skip to content

Commit

Permalink
remove directory after documentation is completed
Browse files Browse the repository at this point in the history
  • Loading branch information
ovac committed Aug 21, 2017
1 parent 1ebe174 commit 395034a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ php sami.phar update ./sami.config.php -v;
php couscous.phar generate --target=./build/couscous;

# clone the project and climb into the directory and switch to the gh-pages branch
git clone http://www.github.com/ovac/hubtel-payment;
git clone https://www.github.com/ovac/hubtel-payment;

cd hubtel-payment;

Expand All @@ -43,4 +43,6 @@ mv -v ../build/sami/* ./__/api;
mv -v ../build/coverage/* ./__/coverage;

# Add all and commit to github if deploy was enabled
git add --all . && git commit -m 'Documentation Updated' && git push origin gh-pages;
git add --all . && git commit -m 'Documentation Updated' && git push origin gh-pages;

rm -rf ../hubtel-payment;

0 comments on commit 395034a

Please sign in to comment.