Ingore gh-pages subdirectory in main repository.
Broke up deploy and publish tasks.