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

update website location

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