Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
school
courses
Commits
a05870ba
Verified
Commit
a05870ba
authored
Jul 09, 2020
by
Laurent Heirendt
✈
Browse files
simplify sed
parent
c02df3ea
Pipeline
#29620
passed with stages
in 3 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/deploy.sh
View file @
a05870ba
...
...
@@ -48,14 +48,9 @@ do
ln
-s
../../theme theme
# add matomo
if
[[
-v
matomoID
]]
;
then
matomoTagOrig
=
'<!-- matomohead -->'
sed
-i
''
"/
${
matomoTagOrig
}
/r./.ci/analytics/head.html"
theme/templates/_index.html
matomoTagOrig
=
'<!-- matomopolicy -->'
sed
-i
''
"/
${
matomoTagOrig
}
/r./.ci/analytics/policy.html"
theme/templates/_index.html
matomoTagOrig
=
'<!-- matomobanner -->'
sed
-i
''
"/
${
matomoTagOrig
}
/r./.ci/analytics/gdpr-banner.html"
theme/templates/_index.html
fi
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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