Skip to content
Permalink
Browse files

Minor config tweaks

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 22, 2017
1 parent be6015f commit 6998ef9351cd6ba4aee18d79b471f6f39fbad629
Showing with 7 additions and 6 deletions.
  1. +6 −5 site/conf.py
  2. +1 −1 site/plugins/pkgindex_theme_demo_screenshots/pkgindex_theme_demo_screenshots.py
@@ -45,6 +45,7 @@
'v7/bootblog-jinja': 'v7/bootblog',
'v7/bootstrap3-gradients-jinja': 'v7/bootstrap3-gradients',
'v7/bootstrap3-jinja': 'v7/bootstrap3',
'v7/reveal-jinja': 'v7/reveal',
'v7/zen-ipython': 'v7/zen',
'v7/zen-jinja': 'v7/zen',
},
@@ -635,11 +636,11 @@
# to `nikola deploy`. If no arguments are specified, a preset
# named `default` will be executed. You can use as many presets
# in a `nikola deploy` command as you like.
# DEPLOY_COMMANDS = {
# 'default': [
# "rsync -rav --delete output/ joe@my.site:/srv/www/site",
# ]
# }
DEPLOY_COMMANDS = {
'default': [
"rsync -rav output/ getnikola@direct.ralsina.me:/srv/www/themes.getnikola.com:80",
]
}

# github_deploy configuration
# For more details, read the manual:
@@ -154,7 +154,7 @@ def gen_tasks(self):
# Get list of dependencies and files to zip
for root, dirs, files in os.walk(directory):
for file in files:
if file.endswith(('.pyc', '.DS_Store')):
if file.endswith(('.pyc', '.DS_Store')) or file == '.git':
continue
zip_files.append((os.path.join(root, file),
os.path.join(root[d:], file)))

0 comments on commit 6998ef9

Please sign in to comment.
You can’t perform that action at this time.