Skip to content
Snippets Groups Projects
Commit 54840c31 authored by Gökçe Aydos's avatar Gökçe Aydos
Browse files

Update .gitlab-ci.yml

parent 0431f5dc
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,7 @@ deploy-webpages:
- echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- echo $GITLAB_USER_LOGIN
- ssh gaydos@joan.th-deg.de -- rm -rf ~/public_html/$CI_PROJECT_NAME
- scp -r _build/html gaydos@joan.th-deg.de:public_html/$CI_PROJECT_NAME
- ssh $GITLAB_USER_LOGIN@joan.th-deg.de -- rm -rf public_html/$CI_PROJECT_NAME
- scp -r _build/html $GITLAB_USER_LOGIN@joan.th-deg.de:public_html/$CI_PROJECT_NAME
except:
- merge_requests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment