Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #2096
  • Loading branch information
ralsina committed Jun 4, 2016
1 parent 62020cd commit 2570291
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions nikola/plugins/command/deploy.py
Expand Up @@ -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.
Expand Down

0 comments on commit 2570291

Please sign in to comment.