At the moment we are facing issues with a certain GitLab CI Runner (hifis-runner-manager-1) that execute your GitLab CI pipelines. We are working on it to bring them back to service again. Please excuse the inconveniences.

Commit a5d33cfc authored by Hueser, Christian (FWCC) - 138593's avatar Hueser, Christian (FWCC) - 138593 Committed by Hueser, Christian (FWCC) - 138593
Browse files

Wrong syntax in gitlab ci yaml file

Bash if-condition needs a semicolon for inline use.
parent c48afd13
...@@ -23,7 +23,7 @@ before_script: ...@@ -23,7 +23,7 @@ before_script:
run_jekyll_latest_dependencies: run_jekyll_latest_dependencies:
stage: build stage: build
script: script:
- if [[ -f "Gemfile.lock" ]] then rm Gemfile.lock; fi - if [[ -f "Gemfile.lock" ]]; then rm Gemfile.lock; fi
- bundle update --jobs $(nproc) "${FLAGS[@]}" - bundle update --jobs $(nproc) "${FLAGS[@]}"
- bundle exec jekyll build -d public - bundle exec jekyll build -d public
allow_failure: true allow_failure: true
Markdown is supported
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