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
ec9522d0
Verified
Commit
ec9522d0
authored
4 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
make sure index is generated before website is built
parent
1cea4b3d
No related branches found
No related tags found
1 merge request
!80
Regular merge of develop
Pipeline
#29311
passed
4 years ago
Stage: retrieve
Stage: generate
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-4
9 additions, 4 deletions
.gitlab-ci.yml
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
9
−
4
View file @
ec9522d0
stages
:
-
retrieve
-
generate
-
build
-
deploy
...
...
@@ -15,16 +16,20 @@ retrieve:repo:
paths
:
-
courses.lcsb.uni.lu
build
:index
:
generate
:index
:
image
:
python
stage
:
build
stage
:
generate
rules
:
-
if
:
$CI_COMMIT_BRANCH == "develop"
script
:
-
python .ci/generateIndex.py
artifacts
:
expire_in
:
1 day
paths
:
-
courses.lcsb.uni.lu
build:website
:
image
:
git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb
:1.6
image
:
git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb
stage
:
build
before_script
:
-
cd courses.lcsb.uni.lu
...
...
@@ -59,7 +64,7 @@ build:courses:
upload
:
stage
:
deploy
image
:
alpine
:3.1
image
:
alpine
before_script
:
-
'
which
ssh-agent
||
(
apk
add
--update
openssh
)'
-
eval $(ssh-agent -s)
...
...
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