Skip to content
Snippets Groups Projects
Commit d13b2c2f authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

chore(merge): Merge branch '15-add-a-link-to-minerva' into 'master'

Resolve "Add a link to Minerva"

Closes #15

See merge request core-services/r3lab/r3-pages!18
parents 13c5d523 c3a731b1
No related branches found
Tags v0.1.5
No related merge requests found
......@@ -39,7 +39,7 @@ Deploy to production:
- ssh -p $SSHPORT $SSHCONNECT "mkdir -p ~/web/r3lab_$CI_JOB_ID"
- scp -P $SSHPORT -r build/* $SSHCONNECT:~/web/r3lab_$CI_JOB_ID
# Make a symbolic link to newly copied files, then remove old tasks' files, and remove all broken symbolic links
- ssh -p $SSHPORT $SSHCONNECT "cd ~/web/latest && ln -fs ../r3lab_$CI_JOB_ID/* . && cd .. && find . -type d -name 'r3lab*' -not -newermt '-1 minutes' -exec rm -rf {} + && find -L ~/web/latest -type l -delete"
- ssh -p $SSHPORT $SSHCONNECT "cd ~/web/latest && ln -fs ../r3lab_$CI_JOB_ID/* . || true && cd ~/web/latest/web/ && ln -fs ../r3lab_$CI_JOB_ID/web/* . && cd ~/web && find . -type d -name 'r3lab*' -not -newermt '-1 minutes' -exec rm -rf {} + && find -L ~/web/latest -type l -delete && ln -fs ~/web/latest/link_to_minerva.html ~/web/latest/web/minerva-website.html || true"
## Backups
......
---
layout: external
redirect_to: https://minerva.pages.uni.lu/doc/
---
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