Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
yocto-ktn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Yocto
yocto-ktn
Merge requests
!33
Draft: ci: Provide separate job templates for building and deploying docs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: ci: Provide separate job templates for building and deploying docs
feature/docs-deploy-separation
into
master
Overview
1
Commits
1
Pipelines
0
Changes
1
Closed
Frieder Schrempf
requested to merge
feature/docs-deploy-separation
into
master
2 years ago
Overview
1
Commits
1
Pipelines
0
Changes
1
Expand
Closes #1
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
48aa46ee
1 commit,
2 years ago
1 file
+
38
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ci/yocto-ktn-docs.yml
+
38
−
0
Options
#
# DEPRECATED: Please use the "docs:build" and "docs:deploy" job templates below
#
# This is a job template that can be used to build HTML docs with mkdocs from
# Markdown files in the ./docs directory. The resulting website is deployed via
# GitLab Pages.
@@ -20,3 +22,39 @@
artifacts
:
paths
:
-
public
#
# This is a job template that can be used to build HTML docs with mkdocs from
# Markdown files in the ./docs directory. The name of the derived job should
# be "docs:build".
#
.docs:build
:
tags
:
-
server
stage
:
build
image
:
name
:
kontron/docker-ktn-docs
entrypoint
:
[
"
"
]
script
:
-
cd docs
-
mkdocs build
artifacts
:
paths
:
-
docs/site
#
# This is a job template that can be used to deploy the previously built docs
# via GitLab pages. The name of the derived job should be "pages".
#
.docs:deploy
:
tags
:
-
server
stage
:
deploy
needs
:
[
"
docs:build"
]
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script
:
-
mv docs/site public
artifacts
:
paths
:
-
public
Loading