diff --git a/.ci/deploy.sh b/.ci/deploy.sh index ff58c49985e326b2eaf065f36a5064a87b04db02..59352f4d9ac220ae264e734c322e00369e95b9d5 100644 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -1,5 +1,7 @@ #!/bin/bash +PAGEURL="https://r3.pages.uni.lu/school" + rootDir=$(pwd) echo $rootDir @@ -38,17 +40,17 @@ do #mv public/* $rootDir/public/$BLADE/stable/. # build the develop version into latest - git checkout -f develop - git fetch origin develop - git reset --hard origin/develop - git submodule update + #git checkout -f develop + #git fetch origin develop + #git reset --hard origin/develop + git submodule update --init grunt dist mv public/* $rootDir/public/$BLADE/latest/. # auto redirect file echo '<html>\n <head>\n - <meta http-equiv="refresh" content="0; url=https://r3.pages.uni.lu/school/'$BLADE'/stable"/>\n + <meta http-equiv="refresh" content="0; url='$PAGEURL'/'$BLADE'/stable"/>\n </head>\n <body>\n </bod>\n