Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
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
danet
goSDN
Merge requests
!382
Develop
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Develop
develop
into
master
Overview
0
Commits
23
Pipelines
93
Changes
2
Merged
Ghost User
requested to merge
develop
into
master
2 years ago
Overview
0
Commits
23
Pipelines
93
Changes
2
Expand
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
My code follows the code style of this project.
My change requires a change to the documentation.
I have updated the documentation accordingly.
I have read the
CONTRIBUTING
document.
I have added tests to cover my changes.
All new and existing tests passed.
0
0
Merge request reports
Viewing commit
c002c6d5
Prev
Next
Show latest version
2 files
+
15
−
6
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
c002c6d5
Page deploy for multiple branches
· c002c6d5
Malte Bauch
authored
2 years ago
See merge request
!396
.gitlab/ci/.mk-docs-deploy.yml
+
14
−
5
Options
image
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/python:latest
image
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/python:3.9.15
pages
:
cache
:
stage
:
deploy
# keep artifacts from previous builds
paths
:
-
public
documentation
:
stage
:
publish
script
:
script
:
-
pip install mkdocs-material
-
pip install mkdocs-material
-
mkdocs build --site-dir public
-
mkdocs build --site-dir public/$CI_COMMIT_BRANCH
needs
:
[]
artifacts
:
artifacts
:
name
:
"
$CI_COMMIT_BRANCH"
paths
:
paths
:
-
public
-
public
expire_in
:
1 week
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# run only for protected branches; in our case this should be master and
# develop.
-
if
:
$CI_COMMIT_REF_PROTECTED == "true"
Loading