Implement deploy command to simplify the CI setup and allow local invocation
Part of team#33 (closed)