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

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

parent 91c0ac27
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