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

Merge branch 'master_deploy' into 'master'

setup ci to auto-deploy on pushes to master (closes #6)



See merge request !9
parents 91c0ac27 bd556546
No related branches found
No related tags found
No related merge requests found
......@@ -6,4 +6,13 @@ test_deploy:
- mkdir -p ~/.ssh && ssh-keyscan kwant-project.org >> ~/.ssh/known_hosts
- echo $TEST_WEBSITE_KEY > deploy_key && sed -i 's/\r /\n/g' deploy_key && chmod 600 deploy_key
- nikola deploy
allow_failure: true
except:
- master
master_deploy:
script:
- mkdir -p ~/.ssh && ssh-keyscan kwant-project.org >> ~/.ssh/known_hosts
- echo $MASTER_WEBSITE_KEY > deploy_key && sed -i 's/\r /\n/g' deploy_key && chmod 600 deploy_key
- nikola deploy
only:
- master
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