Skip to content

Commit e78294e

Browse files
committedMay 11, 2015
fix #1713 -- fix nikola check call in gh deploy
1 parent a573ed9 commit e78294e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎nikola/plugins/command/github_deploy.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def _execute(self, command, args):
8484
sys.exit(build)
8585

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

0 commit comments

Comments
 (0)
Please sign in to comment.