Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
OSL
documentation
Commits
aeac7fb7
Commit
aeac7fb7
authored
1 year ago
by
Dimitrios Giannopoulos
Browse files
Options
Downloads
Patches
Plain Diff
trigger if branch is develop
parent
b52ddc44
No related branches found
No related tags found
3 merge requests
!11
Merging "develop" documentation into "main" to tag it as 2024Q2
,
!9
Draft: Added documentation on primitives support feature and NSLCM status
,
!6
Fix: trigger if branch is develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
aeac7fb7
...
...
@@ -17,7 +17,7 @@ pages:
if [ -n "$CI_COMMIT_TAG" ]; then
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_TAG latest
mike set-default --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH latest
elif [ "$CI_COMMIT_REF_
PROTECTED" == "true
" ]; then
elif [ "$CI_COMMIT_REF_
NAME" == "develop
" ]; then
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_BRANCH
fi
-
git checkout $PAGES_BRANCH -- public/
...
...
@@ -26,6 +26,6 @@ pages:
-
public/
rules
:
-
if
:
'
$CI_COMMIT_TAG'
-
if
:
'
$CI_COMMIT_REF_
PROTECTED
==
"true
"'
-
if
:
'
$CI_COMMIT_REF_
NAME
==
"develop
"'
when
:
always
-
when
:
never
\ No newline at end of file
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