.gitlab-ci: symbolic link between index.en.html and index.html

This commit is contained in:
Antoine Martin 2024-06-21 13:51:51 -04:00
parent 8285c4a35a
commit d03c82c4c3
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -5,6 +5,7 @@ test:
stage: test stage: test
script: script:
- ikiwiki --setup ikiwiki.setup - ikiwiki --setup ikiwiki.setup
- ln -s index.en.html public/index.html
rules: rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
tags: tags:
@ -14,6 +15,7 @@ pages:
stage: deploy stage: deploy
script: script:
- ikiwiki --setup ikiwiki.setup - ikiwiki --setup ikiwiki.setup
- ln -s index.en.html public/index.html
artifacts: artifacts:
paths: paths:
- public - public