Skip to content
Snippets Groups Projects
Commit 7dd1108a authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

update website location

parent b2280841
Branches master
No related tags found
No related merge requests found
Pipeline #187285 failed
......@@ -36,10 +36,10 @@ build lectures:
## Create the SSH directory and give it the right permissions
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan tnw-tn1.tudelft.net >> ~/.ssh/known_hosts
- ssh-keyscan qt4.tudelft.net >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- "rsync -rv site/* mathforquantum@tnw-tn1.tudelft.net:$DEPLOY_PATH"
- "rsync -rv site/* uploader@qt4.tudelft.net:$DEPLOY_PATH"
deploy master version:
<<: *prepare_deploy
......@@ -71,7 +71,7 @@ undeploy test version:
DEPLOY_PATH: "test_builds/$CI_COMMIT_REF_NAME"
script:
- mkdir empty/
- "rsync -rlv --delete empty/ mathforquantum@tnw-tn1.tudelft.net:$DEPLOY_PATH"
- "rsync -rlv --delete empty/ uploader@qt4.tudelft.net:$DEPLOY_PATH"
environment:
name: $CI_COMMIT_REF_NAME
action: stop
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