Skip to content
Permalink
Browse files
fix #2096
  • Loading branch information
ralsina committed Jun 4, 2016
1 parent 62020cd commit 25702913c35192293e9b9fb1d85b2f50a89a4f60
Showing with 6 additions and 0 deletions.
  1. +1 −0 CHANGES.txt
  2. +5 −0 nikola/plugins/command/deploy.py
@@ -4,6 +4,7 @@ New in master
Features
--------

* Point the user to our users site after 1st successful deploy (Issue #2096)
* Option to disable color output using ``NIKOLA_MONO`` environment
variable (Issue #2360)
* Improved locale detection in Windows (Issue #2343)
@@ -132,6 +132,11 @@ def _execute(self, command, args):

# Store timestamp of successful deployment
self.site.state.set('last_deploy', new_deploy.isoformat())
if clean:
self.logger.info(
'Looks like this is the first time you deployed this site. '
'Maybe you would want to let us know you are using Nikola '
'at https://users.getnikola.add')

This comment has been minimized.

Copy link
@Kwpolska

Kwpolska Jun 5, 2016

Member

that’s not how URLs work; will fix this


def _emit_deploy_event(self, last_deploy, new_deploy, clean=False, undeployed=None):
"""Emit events for all timeline entries newer than last deploy.

0 comments on commit 2570291

Please sign in to comment.