added directory as parameter, improved deploy
Merge pull request #33 from liuggio/html

added directory as parameter, improved deploy