Skip to content

Commit

Permalink
fix #1713 -- fix nikola check call in gh deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed May 11, 2015
1 parent a573ed9 commit e78294e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nikola/plugins/command/github_deploy.py
Expand Up @@ -84,7 +84,8 @@ def _execute(self, command, args):
sys.exit(build)

# Clean non-target files
only_on_output, _ = real_scan_files(self.site)
l = self._doitargs['cmds'].get_plugin('list')(config=self.config, **self._doitargs)
only_on_output, _ = real_scan_files(l, self.site)
for f in only_on_output:
os.unlink(f)

Expand Down

0 comments on commit e78294e

Please sign in to comment.