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
Vilem Ded
courses
Commits
5dc236b2
Verified
Commit
5dc236b2
authored
Jul 09, 2020
by
Laurent Heirendt
✈
Browse files
move matomo insertion out of loop
parent
dd4c60cc
Changes
1
Show whitespace changes
Inline
Side-by-side
.ci/deploy.sh
View file @
5dc236b2
...
...
@@ -17,6 +17,11 @@ else
version
=
"unstable"
;
fi
# 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
sed
-i
"/matomobanner/r./.ci/analytics/gdpr-banner.html"
theme/templates/_index.html
# loop through all the presentations
nBlades
=
0
for
d
in
$(
find
.
-maxdepth
1
-type
d
)
...
...
@@ -47,18 +52,6 @@ do
ln
-s
../../theme/package.json package.json
ln
-s
../../theme theme
# reset the theme
cd
$rootDir
cd
theme
git checkout
--
templates/_index.html
cd
$BLADE
echo
" > Theme reset."
# 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
sed
-i
"/matomobanner/r./../../.ci/analytics/gdpr-banner.html"
theme/templates/_index.html
# install npm
yarn global add grunt-cli generator-reveal
yarn
install
...
...
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