Skip to content
Snippets Groups Projects
Commit 7889d55f authored by Becker, Benjamin's avatar Becker, Benjamin
Browse files

Update .gitlab-ci.yml file

parent 8ec73d91
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,10 @@ deploy-job:
- echo "$id_rsa" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan 10.61.63.40 >> ~/.ssh/known_hosts
- ssh-keyscan 10.61.63.41 >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- ssh root@10.61.63.40 "cd /usr/lib/ckan/default/src/ckan/ && git pull && service apache2 reload"
- ssh root@10.61.63.41 "cd /usr/lib/ckan/default/src/ckan/ && git pull && service apache2 reload"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment