Skip to content
Snippets Groups Projects
Commit ad68117e authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

fix for init of submodule

parent 003ea226
No related branches found
No related tags found
No related merge requests found
#!/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
......
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