Add revision variable

* Add revision variable. will grab the last
commit id fron the log.
* Move the api key to be an ENV variable.
* Refactor notice deployment body to use variables
instead of strings.