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

Update .gitlab-ci.yml file

parent 1775e6a8
No related branches found
No related tags found
No related merge requests found
stages:
- deploy
deploy-job:
stage: deploy
only:
- dev
before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$id_rsa" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
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