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
Pipeline #158 passed with stage
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment