Add api to download deployment script for website.

Fix #808