Skip to content

Commit

Permalink
add logging to deploy-docs (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsupplee authored and jdpedrie committed Jun 1, 2016
1 parent 333523a commit b0f2d60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/deploy-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
set -ev

function pushDocs () {
echo "doc dir before generation:"
find docs
composer docs
echo "doc dir after generation:"
find docs
git submodule add -f -b gh-pages https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} ghpages
mkdir -p ghpages/json/${1}
cp -R docs/json/master/* ghpages/json/${1}
Expand Down

0 comments on commit b0f2d60

Please sign in to comment.