_build/deploy-phpdoc-branch.sh: Don't forget to commit phpDocs cache

This commit is contained in:
Daniel Rudolf 2016-01-14 14:51:16 +01:00
parent 8c24e32f10
commit 024f994d9e

View file

@ -39,10 +39,10 @@ generate-phpdoc.sh \
# commit phpDocs
echo "Committing changes..."
git add "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
git add "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID.cache" "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
git commit \
--message="Update phpDocumentor class docs for $TRAVIS_BRANCH branch @ $TRAVIS_COMMIT" \
"$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
"$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID.cache" "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
[ $? -eq 0 ] || exit 1
echo