diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cd01a8cccddac679b44e5af1d4522b1d807cf280..612a8d0de7eb80d7da63b235bed9970ce6fb5b1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,10 +18,7 @@ workflow: - if: $CI_COMMIT_TITLE =~ /.*(WIP|NO-CI|🚧|:construction:).*/ when: never # Do not run CI if repo is not on framagit - - if: $CI_REPOSITORY_URL !~ /framagit.org/ - when: never - # Run the CI otherwise (depending on `only/except` key per jobs) - - when: always + - if: $CI_SERVER_HOST =~ /^framagit.org/ ### BEGIN MKDOCS TEMPLATE ### ### WARNING, DO NOT UPDATE CONTENT BETWEEN MKDOCS TEMPLATE TAG ! ### diff --git a/docs/.gitlab-ci.yml b/docs/.gitlab-ci.yml index ec82115aca5399e25b7d2a585d5363fba02de261..9a98aa97a943e52f16acab9cad436f90a4cd40e3 100644 --- a/docs/.gitlab-ci.yml +++ b/docs/.gitlab-ci.yml @@ -22,8 +22,8 @@ workflow: # WIP, NO-CI or 🚧 (gitmoji for "work in progress", aka :construction:) - if: $CI_COMMIT_TITLE =~ /.*(WIP|NO-CI|🚧|:construction:).*/ when: never - # Run the CI otherwise (depending on `rules` key per jobs) - - when: always + # Do not run CI if repo is not on framagit + - if: $CI_SERVER_HOST =~ /^framagit.org/ # 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