diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66dd63ba89bd3029f8ed41fbf2b7919e4b81e337..fb472ad21d186e799dbaf18de94c12bebce110c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,10 +16,10 @@ build and upload the contents: - echo "$WEBSITE_UPLOAD_KEY" | tr -d '\r' | ssh-add - > /dev/null ## Create the SSH directory and give it the right permissions - - mkdir -p /root/.ssh - - chmod 700 /root/.ssh - - ssh-keyscan tnw-tn1.tudelft.net >> /root/.ssh/known_hosts - - chmod 644 /root/.ssh/known_hosts + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - ssh-keyscan tnw-tn1.tudelft.net >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts - pip install -U mkdocs mkdocs-material python-markdown-math script: