Skip to content
Snippets Groups Projects
Commit bf752eba authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'use_masters_404' into 'develop'

Use master's 404.html

See merge request !40
parents aeaada5e d671d6ff
No related branches found
No related tags found
2 merge requests!41Regular merge of develop,!40Use master's 404.html
Pipeline #16544 passed
......@@ -17,6 +17,11 @@ for branch in $(git for-each-ref --format='%(refname:strip=3)' refs/remotes); do
# build the website
bundle exec jekyll build --baseurl="howto-cards/$artefact" -d "public/$artefact"
if [[ $branch == "master" ]]; then
# set the 404
cp howto-cards/$artefact/404.html public/404.html
fi
done
# checkout the current branch
......@@ -26,6 +31,3 @@ git reset --hard origin/$CI_COMMIT_REF_NAME
# set the auto redirection
cp .ci/.autoRedirect public/index.html
# set the 404
cp 404.html public/.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment