Skip to content

Commit

Permalink
Minor config tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 22, 2017
1 parent be6015f commit 6998ef9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions site/conf.py
Expand Up @@ -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',
},
Expand Down Expand Up @@ -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:
Expand Down
Expand Up @@ -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)))
Expand Down

0 comments on commit 6998ef9

Please sign in to comment.