From bcb80358d9adb6b3a89fab1003f4434fb2949bdc Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 23 May 2023 12:42:16 +0930 Subject: [PATCH] ci(pages): add pages slug !27 --- .gitlab-ci.yml | 2 +- docs/projects/gitlab-ci/templates/website.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c62319..838cd5a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,7 @@ variables: MY_PROJECT_ID: "28543717" LICENSE_FINDER_CLI_OPTS: '--recursive' MDLINT_PATHS: "**/*.md **/**/*.md **/**/**/*.md **/**/**/**/*.md **/**/**/**/**/**/*.md #**CHANGELOG.md #CHANGELOG.md #website-template/** #.gitlab/**" - + PAGES_ENVIRONMENT_PATH: projects/gitlab-ci/ # Scanner doesn't Pickup multiple pip files. Disable and specify jobs with pip file. gemnasium-python-dependency_scanning: diff --git a/docs/projects/gitlab-ci/templates/website.md b/docs/projects/gitlab-ci/templates/website.md index 94ebb43..2f7ea36 100644 --- a/docs/projects/gitlab-ci/templates/website.md +++ b/docs/projects/gitlab-ci/templates/website.md @@ -8,6 +8,13 @@ about: https://gitlab.com/nofusscomputing/projects/gitlab-ci This template creates the jobs applicable to publishing pages to a website. The website in question is a static site built by MKDocs. + +## Docs ToDo + +- notate that var `PAGES_ENVIRONMENT_PATH:` can be set to the slug of the page to show and is used for launching the environment to the url that contains the docs index page. + + + !!! Note This template is specifically designed for deployment to https://nofusscomputing.com. However you _may_ be able to override the job definition to use it for your website.