Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Automation Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Automation Platform
Commits
f902a7b1
Verified
Commit
f902a7b1
authored
1 year ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
only deploy prod1 when on main branch
Signed-off-by:
Karel van Klink
<
karel.vanklink@geant.org
>
parent
435ab0ed
No related branches found
Branches containing commit
No related tags found
2 merge requests
!6
[2023-07-14] publish docs
,
!5
add publishing steps for both prod VMs
Pipeline
#83728
passed
1 year ago
Stage: documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/.gitlab-ci.yml
+6
-2
6 additions, 2 deletions
docs/.gitlab-ci.yml
with
6 additions
and
2 deletions
docs/.gitlab-ci.yml
+
6
−
2
View file @
f902a7b1
...
@@ -52,7 +52,7 @@ publish-prod-2:
...
@@ -52,7 +52,7 @@ publish-prod-2:
refs
:
refs
:
-
main
# Only publish when on the main branch
-
main
# Only publish when on the main branch
needs
:
needs
:
-
job
:
build
-documentation
-
job
:
lint
-documentation
artifacts
:
true
artifacts
:
true
script
:
script
:
...
@@ -66,8 +66,12 @@ publish-prod-1:
...
@@ -66,8 +66,12 @@ publish-prod-1:
tags
:
tags
:
-
gap-docs-prod-1
-
gap-docs-prod-1
only
:
refs
:
-
main
# Only publish when on the main branch
needs
:
needs
:
-
job
:
build
-documentation
-
job
:
lint
-documentation
artifacts
:
true
artifacts
:
true
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment