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
Commits
90d91bac
Commit
90d91bac
authored
4 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request
R3/school/courses!87
parents
d1e874b6
0dbbf4b7
No related branches found
Branches containing commit
Tags
v8.1.0
Tags containing commit
3 merge requests
!153
merge back master to develop
,
!124
White theme only for git trilogy part 1
,
!87
Develop
Pipeline
#29649
passed
4 years ago
Stage: retrieve
Stage: generate
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/deploy.sh
+1
-1
1 addition, 1 deletion
.ci/deploy.sh
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
with
3 additions
and
1 deletion
.ci/deploy.sh
+
1
−
1
View file @
90d91bac
...
...
@@ -7,6 +7,7 @@ echo $rootDir
# clean previous builds
rm
-rf
$rootDir
/public
rm
-rf
$rootDir
/theme
mkdir
$rootDir
/public
if
[[
$CI_COMMIT_BRANCH
==
"develop"
]]
;
then
...
...
@@ -19,7 +20,6 @@ fi
# build the unstable version - can be optimized
git submodule update
--init
--recursive
git submodule foreach
--recursive
git reset
--hard
# add matomo
sed
-i
"/matomohead/r./.ci/analytics/head.html"
theme/templates/_index.html
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
0
View file @
90d91bac
...
...
@@ -61,6 +61,8 @@ build:courses:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "develop"
-
if
:
$CI_COMMIT_BRANCH == "master"
before_script
:
-
git submodule update --init --recursive
script
:
-
bash .ci/deploy.sh
artifacts
:
...
...
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