Commit ad68117e authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

fix for init of submodule

parent 003ea226
#!/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
......
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