Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
school
courses
Commits
ec9522d0
Verified
Commit
ec9522d0
authored
Jul 02, 2020
by
Laurent Heirendt
✈
Browse files
make sure index is generated before website is built
parent
1cea4b3d
Pipeline
#29311
passed with stages
in 3 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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