This commit concludes the migration of the Fedora Badges docs repository to the new GitLab home. This commit represents the original initial commit made to this repository, on top of the changes that existed previously in the dedicated Fedora Badges docs repo on Pagure: https://pagure.io/fedora-badges/docs With this commit in place, we can now unblock the other PRs and MRs so that the Badges docs finally exist in one and only one place. CC: @gridhead @ekidney @riecatnor @penguinpee @ryanlerch @amoloney Signed-off-by: Justin W. Flory (he/him) <jwf@redhat.com>
28 lines
678 B
YAML
28 lines
678 B
YAML
build:
|
|
stage: build
|
|
image:
|
|
name: antora/antora:latest
|
|
script:
|
|
- antora --log-failure-level fatal site.yml
|
|
artifacts:
|
|
paths:
|
|
- public/
|
|
expire_in: 1 week
|
|
expose_as: 'docs preview'
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
environment:
|
|
name: preview MR_${CI_MERGE_REQUEST_IID}
|
|
url: https://${CI_SERVER_HOST}/${CI_PROJECT_PATH}/-/jobs/${CI_JOB_ID}/artifacts/file/public/index.html
|
|
auto_stop_in: 1 week
|
|
pages:
|
|
stage: build
|
|
image:
|
|
name: antora/antora:latest
|
|
script:
|
|
- antora site.yml
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == "main" && $CI_PROJECT_ROOT_NAMESPACE == "fedora"
|