Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MKDocs Template
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
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
EDP
MKDocs Template
Commits
08ec9e37
Verified
Commit
08ec9e37
authored
4 years ago
by
Romain Deville
Browse files
Options
Downloads
Patches
Plain Diff
Fix workflow to not run CI elsewhere that framagit
parent
60d3a988
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-4
1 addition, 4 deletions
.gitlab-ci.yml
docs/.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
docs/.gitlab-ci.yml
with
3 additions
and
6 deletions
.gitlab-ci.yml
+
1
−
4
View file @
08ec9e37
...
@@ -18,10 +18,7 @@ workflow:
...
@@ -18,10 +18,7 @@ workflow:
-
if
:
$CI_COMMIT_TITLE =~ /.*(WIP|NO-CI|🚧|:construction:).*/
-
if
:
$CI_COMMIT_TITLE =~ /.*(WIP|NO-CI|🚧|:construction:).*/
when
:
never
when
:
never
# Do not run CI if repo is not on framagit
# Do not run CI if repo is not on framagit
-
if
:
$CI_REPOSITORY_URL !~ /framagit.org/
-
if
:
$CI_SERVER_HOST =~ /^framagit.org/
when
:
never
# Run the CI otherwise (depending on `only/except` key per jobs)
-
when
:
always
### BEGIN MKDOCS TEMPLATE ###
### BEGIN MKDOCS TEMPLATE ###
### WARNING, DO NOT UPDATE CONTENT BETWEEN MKDOCS TEMPLATE TAG ! ###
### WARNING, DO NOT UPDATE CONTENT BETWEEN MKDOCS TEMPLATE TAG ! ###
...
...
This diff is collapsed.
Click to expand it.
docs/.gitlab-ci.yml
+
2
−
2
View file @
08ec9e37
...
@@ -22,8 +22,8 @@ workflow:
...
@@ -22,8 +22,8 @@ workflow:
# WIP, NO-CI or 🚧 (gitmoji for "work in progress", aka :construction:)
# WIP, NO-CI or 🚧 (gitmoji for "work in progress", aka :construction:)
-
if
:
$CI_COMMIT_TITLE =~ /.*(WIP|NO-CI|🚧|:construction:).*/
-
if
:
$CI_COMMIT_TITLE =~ /.*(WIP|NO-CI|🚧|:construction:).*/
when
:
never
when
:
never
#
Run the CI otherwise (depending on `rules` key per jobs)
#
Do not run CI if repo is not on framagit
-
when
:
always
-
if
:
$CI_SERVER_HOST =~ /^framagit.org/
# Stages jobs will pass through with anchors to avoid updating stage in multiple
# Stages jobs will pass through with anchors to avoid updating stage in multiple
# place within this file. Now renaming a stage can be done directly after the
# place within this file. Now renaming a stage can be done directly after the
...
...
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