Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
school
courses
Commits
ad68117e
Commit
ad68117e
authored
Apr 25, 2019
by
Laurent Heirendt
✈
Browse files
fix for init of submodule
parent
003ea226
Changes
1
Hide whitespace changes
Inline
Side-by-side
.ci/deploy.sh
View file @
ad68117e
#!/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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment