Nikola auto commit.

Nikola version: 7.7.12
This commit is contained in:
Vicky Steeves 2016-08-15 12:46:56 -04:00 committed by Vicky Steeves
parent 033db0ed2b
commit 27d8ad20fd
1 changed files with 11 additions and 11 deletions

22
conf.py
View File

@ -552,25 +552,25 @@ REDIRECTIONS = []
# 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 = [
"git checkout gh-pages",
"rsync -rPv --delete-after --exclude old_blog --exclude .git --exclude .gitignore --exclude cache/ --exclude .doit.db.db output/ .",
"git add -A",
"git commit -a -m 'Updating blog content'",
"git push",
"git checkout master",
]
#DEPLOY_COMMANDS = [
# "git checkout gh-pages",
# "rsync -rPv --delete-after --exclude old_blog --exclude .git --exclude .gitignore --exclude cache/ --exclude .doit.db.db output/ .",
#"git add -A",
# "git commit -a -m 'Updating blog content'",
# "git push",
# "git checkout master",
#]
# github_deploy configuration
# For more details, read the manual:
# https://getnikola.com/handbook.html#deploying-to-github
# For user.github.io OR organization.github.io pages, the DEPLOY branch
# MUST be 'master', and 'gh-pages' for other repositories.
# GITHUB_SOURCE_BRANCH = 'master'
# GITHUB_DEPLOY_BRANCH = 'gh-pages'
GITHUB_SOURCE_BRANCH = 'master'
GITHUB_DEPLOY_BRANCH = 'gh-pages'
# The name of the remote where you wish to push to, using github_deploy.
# GITHUB_REMOTE_NAME = 'origin'
GITHUB_REMOTE_NAME = 'origin'
# Whether or not github_deploy should commit to the source branch automatically
# before deploying.