Verified Commit 05ca809f authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

fix yml syntax

parent af8c7248
...@@ -2,7 +2,7 @@ stages: ...@@ -2,7 +2,7 @@ stages:
- build - build
- deploy - deploy
retrieve repo: retrieve:repo:
image: image:
name: alpine/git:latest name: alpine/git:latest
entrypoint: [""] entrypoint: [""]
...@@ -14,21 +14,21 @@ retrieve repo: ...@@ -14,21 +14,21 @@ retrieve repo:
paths: paths:
- courses.lcsb.uni.lu - courses.lcsb.uni.lu
build index: build:index:
image: python image: python
stage: build stage: build
dependencies: dependencies:
- courses.lcsb.uni.lu - retrieve:repo
rules: rules:
- if: $CI_COMMIT_BRANCH == "develop" - if: $CI_COMMIT_BRANCH == "develop"
script: script:
- python .ci/generateIndex.py - python .ci/generateIndex.py
build the website: build:website:
image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.4 image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.4
stage: build stage: build
dependencies: dependencies:
- courses.lcsb.uni.lu - retrieve:repo
before_script: before_script:
- cd courses.lcsb.uni.lu - cd courses.lcsb.uni.lu
- gem install bundler -v2.0.2 - gem install bundler -v2.0.2
...@@ -45,7 +45,7 @@ build the website: ...@@ -45,7 +45,7 @@ build the website:
variables: variables:
JEKYLL_ENV: production JEKYLL_ENV: production
build courses: build:courses:
image: git-r3lab.uni.lu:4567/r3/docker/nodejs-yarn-grunt image: git-r3lab.uni.lu:4567/r3/docker/nodejs-yarn-grunt
stage: build stage: build
rules: rules:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment