Commit bd41cfd2 authored by Christoph Groth's avatar Christoph Groth
Browse files

update ssh accounts

parent 8fbfddc7
...@@ -297,7 +297,7 @@ upload documentation to the test server: ...@@ -297,7 +297,7 @@ upload documentation to the test server:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa - echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script: script:
- rsync -rlv -e "$SSH_COMMAND" --delete doc/build/html/* kwant@kwant-project.org:doc/$CI_BUILD_REF_SLUG - rsync -rlv -e "$SSH_COMMAND" --delete doc/build/html/* kwant2@test.kwant-project.org:doc/$CI_BUILD_REF_SLUG
after_script: after_script:
- rm -rf ~/.ssh - rm -rf ~/.ssh
...@@ -315,7 +315,7 @@ remove_docs: ...@@ -315,7 +315,7 @@ remove_docs:
- echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa - echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script: script:
- mkdir empty - mkdir empty
- rsync -arv -e "$SSH_COMMAND" --delete empty/ kwant@kwant-project.org:doc/$CI_BUILD_REF_SLUG/ - rsync -arv -e "$SSH_COMMAND" --delete empty/ kwant2@test.kwant-project.org:doc/$CI_BUILD_REF_SLUG/
after_script: after_script:
- rm -rf ~/.ssh - rm -rf ~/.ssh
......
Markdown is supported
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