stages: [build]
build_readme_html:
stage: build
image: pandoc/core:3.1
rules:
- if: $CI_PIPELINE_SOURCE == "push"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
script:
- ./scripts/build_readme.sh
artifacts:
name: "readme-html-$CI_COMMIT_SHORT_SHA"
paths:
- README.html
expire_in: 30 days