@ -5,7 +5,6 @@
|
||||
GIT_DEPTH: 0
|
||||
MKDOCS_VERSION: "==1.2.3"
|
||||
MKDOCS_BUILD_PATH: build
|
||||
# MKDOCS_INCLUDE_SOURCE: "NO" optional to specify yes
|
||||
MKDOCS_SOURCE_PATH: pages
|
||||
before_script:
|
||||
- mkdir -p "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# MKDocs Static Site Build
|
||||
Build a MKDocs site from the config specified in `mkdocs.yml`. _Only runs if `mkdocs.yml` exists in the repository root directory._
|
||||
Build a MKDocs site from the config specified in `mkdocs.yml`. _Only runs if `mkdocs.yml` exists in the repository root directory._ This job is designated to run on all branchs so that you can use the artifacts for deployment to `staging` and/or `production` as required.
|
||||
|
||||
This job provides the following badge:
|
||||
|
||||
@ -7,7 +7,7 @@ This job provides the following badge:
|
||||
|
||||
## Dependencies
|
||||
|
||||
- _None_
|
||||
- **Mandatory** file `mkdocs.yml` in the repository root directory with your MKDocs configuration
|
||||
|
||||
## your .gitlab-ci.yml changes
|
||||
To use this job add the following to your `.gitlab-ci.yml` file
|
||||
|
Reference in New Issue
Block a user