Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
courses
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
R3
school
courses
Merge requests
!84
Regular merge of develop
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Regular merge of develop
develop
into
master
Overview
0
Commits
18
Pipelines
13
Changes
1
Merged
Laurent Heirendt
requested to merge
develop
into
master
4 years ago
Overview
0
Commits
18
Pipelines
13
Changes
1
Expand
0
0
Merge request reports
Viewing commit
5dc236b2
Prev
Next
Show latest version
1 file
+
5
−
12
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
5dc236b2
move matomo insertion out of loop
· 5dc236b2
Laurent Heirendt
authored
4 years ago
.ci/deploy.sh
+
5
−
12
Options
@@ -17,6 +17,11 @@ else
@@ -17,6 +17,11 @@ else
version
=
"unstable"
;
version
=
"unstable"
;
fi
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
# loop through all the presentations
nBlades
=
0
nBlades
=
0
for
d
in
$(
find
.
-maxdepth
1
-type
d
)
for
d
in
$(
find
.
-maxdepth
1
-type
d
)
@@ -47,18 +52,6 @@ do
@@ -47,18 +52,6 @@ do
ln
-s
../../theme/package.json package.json
ln
-s
../../theme/package.json package.json
ln
-s
../../theme theme
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
# install npm
yarn global add grunt-cli generator-reveal
yarn global add grunt-cli generator-reveal
yarn
install
yarn
install
Loading