Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
courses
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vilem Ded
courses
Commits
5dc236b2
Verified
Commit
5dc236b2
authored
4 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
move matomo insertion out of loop
parent
dd4c60cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/deploy.sh
+5
-12
5 additions, 12 deletions
.ci/deploy.sh
with
5 additions
and
12 deletions
.ci/deploy.sh
+
5
−
12
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment