Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Noua Toukourou
courses
Commits
0f8249fc
Verified
Commit
0f8249fc
authored
Jul 09, 2020
by
Laurent Heirendt
✈
Browse files
move cmd for init submodule into deploy script
parent
f66ca94e
Changes
2
Hide whitespace changes
Inline
Side-by-side
.ci/deploy.sh
View file @
0f8249fc
...
...
@@ -17,6 +17,9 @@ else
version
=
"unstable"
;
fi
# build the unstable version - can be optimized
git submodule update
--recursive
--init
# add matomo
sed
-i
"/matomohead/r./.ci/analytics/head.html"
theme/templates/_index.html
sed
-i
"/matomopolicy/r./.ci/analytics/policy.html"
theme/templates/_index.html
...
...
.gitlab-ci.yml
View file @
0f8249fc
...
...
@@ -61,8 +61,6 @@ build:courses:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "develop"
-
if
:
$CI_COMMIT_BRANCH == "master"
before_script
:
-
git submodule update --recursive --init
script
:
-
bash .ci/deploy.sh
artifacts
:
...
...
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