Allow actions to use `publish.when`.
Allow actions to use `publish.when`.

Since publish was being defined and not alias, actions could not use ``publish.when`.
In addition, publish and publish.when must be defined on the instance as publish.when calls
will not have the right `this` context.

pbouzakis/spak