During yesterday's outage there are confirmed reports that some comments in Issues or Merge Requests as well as Issues and Merge Requests themselves were not saved properly. We are currently investigating the cause and will take appropriate countermeasures. Please excuse the inconvenience.

Verified Commit 8fb54247 authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645
Browse files

Fix deployment to GitLab Pages

Deplyoment to GitLab Pages did not yet take the subpath into account.
Now fixed by using the commandline option `--base-url`.
parent 850eb4bf
Pipeline #15873 passed with stages
in 6 minutes and 55 seconds
...@@ -38,7 +38,7 @@ run_jekyll_production: ...@@ -38,7 +38,7 @@ run_jekyll_production:
stage: build stage: build
script: script:
- cp _data/team.yml team.yml - cp _data/team.yml team.yml
- bundle install --jobs $(nproc) "${FLAGS[@]}" - bundle install --jobs $(nproc) "${FLAGS[@]}"
- bundle exec jekyll build -d public - bundle exec jekyll build -d public
extends: extends:
- .artifacts_extension - .artifacts_extension
...@@ -46,9 +46,8 @@ run_jekyll_production: ...@@ -46,9 +46,8 @@ run_jekyll_production:
pages: pages:
stage: deploy stage: deploy
script: script:
- echo "deploy" - bundle install --jobs $(nproc) "${FLAGS[@]}"
- bundle exec jekyll build -d public --baseurl /$CI_PROJECT_NAME
extends: extends:
- .artifacts_extension - .artifacts_extension
- .only_extension - .only_extension
dependencies:
- run_jekyll_production
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<title>{{ page.title }}</title> <title>{{ page.title }}</title>
<link rel="stylesheet" href="{{ '/assets/css/fonts.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/fonts.css' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/normalize.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/normalize.css' | relative_url }}">
<link rel="stylesheet" href="{{ 'assets/css/general.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/general.css' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/transitions.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/transitions.css' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/header.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/header.css' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
......
$fa-font-path: "/assets/vendor/Font-Awesome/webfonts"; $fa-font-path: $base_url + "/assets/vendor/Font-Awesome/webfonts";
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
This file contains the general rules that apply all throughout the website. This file contains the general rules that apply all throughout the website.
*/ */
// Liquid only processes top level SASS files. This can be used later for
// relative imports.
Please register or sign in to reply
$base_url: "{{ site.baseurl }}";
@import "colors"; @import "colors";
@import "paths"; @import "paths";
@import "assets/vendor/Font-Awesome/scss/fontawesome"; @import "assets/vendor/Font-Awesome/scss/fontawesome";
......
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