Update deploy.rst
Merge pull request #760 from TedWantsMore/patch-1

Update deploy.rst
Use six.string_types instead of basestring.
Merge pull request #761 from berkerpeksag/fix-string-types

Use six.string_types instead of basestring.