Skip to content
Snippets Groups Projects
Commit 5dcb4fa2 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

deploy using a key

parent dff79d48
No related branches found
No related tags found
No related merge requests found
...@@ -409,8 +409,8 @@ REDIRECTIONS = [] ...@@ -409,8 +409,8 @@ REDIRECTIONS = []
# in a `nikola deploy` command as you like. # in a `nikola deploy` command as you like.
DEPLOY_COMMANDS = { DEPLOY_COMMANDS = {
'default': [ 'default': [
"rsync -rav --delete --filter 'P /doc' output/* kwant@kwant-project.org:", "rsync -rav -e 'ssh -i deploy_key' --delete --filter 'P /doc' output/* kwant@kwant-project.org:",
"rsync -av htaccess-apache kwant@kwant-project.org:/.htaccess", "rsync -av -e 'ssh -i deploy_key' htaccess-apache kwant@kwant-project.org:/.htaccess",
] ]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment