Skip to content
Snippets Groups Projects
Verified Commit 08ec9e37 authored by Romain Deville's avatar Romain Deville
Browse files

:green_heart: Fix workflow to not run CI elsewhere that framagit

parent 60d3a988
No related branches found
No related tags found
No related merge requests found
...@@ -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 ! ###
......
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment