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
Pipeline #19864 passed with stages
in 1 minute and 24 seconds
...@@ -39,7 +39,7 @@ Deploy to production: ...@@ -39,7 +39,7 @@ Deploy to production:
- ssh -p $SSHPORT $SSHCONNECT "mkdir -p ~/web/r3lab_$CI_JOB_ID" - ssh -p $SSHPORT $SSHCONNECT "mkdir -p ~/web/r3lab_$CI_JOB_ID"
- scp -P $SSHPORT -r build/* $SSHCONNECT:~/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 # 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 ## Backups
......
---
layout: external
redirect_to: https://minerva.pages.uni.lu/doc/
---
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment