Commit 13f28f03 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

feat: don't use --url in jekyll build

parent 59ff2834
Pipeline #24324 passed with stages
in 1 minute and 42 seconds
url: "https://r3.pages.uni.lu"
......@@ -16,9 +16,12 @@ for branch in $(git for-each-ref --format='%(refname:strip=3)' refs/remotes); do
git reset --hard $branch
git pull
# Generate the config dynamically
echo 'url: "https://r3.pages.uni.lu"' > _config_url.yml
# build the website
bundle install
bundle exec jekyll build --url="https://r3.pages.uni.lu" --baseurl="howto-cards/$artefact" -d "build/$artefact"
bundle exec jekyll build --config "_config.yml,_config_url.yml" --baseurl="howto-cards/$artefact" -d "build/$artefact"
if [[ $branch == "master" ]]; then
# set the 404
......
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