From 341b43cee9f3535dfcc6095e6928533563544006 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 6 Sep 2023 12:13:24 +0200
Subject: [PATCH] L2SS-1450: Moved repository to final url

---
 .gitlab-ci.yml | 7 +++----
 README.md      | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 42e911f..1ec6863 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -111,9 +111,8 @@ publish_on_gitlab:
   environment: gitlab
   needs:
     - package_files
-  when: manual
   rules:
-    - if: $CI_COMMIT_TAG
+    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
   script:
     - echo "run twine for gitlab"
     - |
@@ -146,7 +145,7 @@ publish_on_pypi:
     - package_files
   when: manual
   rules:
-    - if: $CI_COMMIT_TAG
+    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
   script:
     - echo "run twine for pypi"
     # - |
@@ -164,7 +163,7 @@ publish_to_readthedocs:
     - package_docs
   when: manual
   rules:
-    - if: $CI_COMMIT_TAG
+    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
   script:
     - echo "scp docs/* ???"
     - exit 1
diff --git a/README.md b/README.md
index fe136bb..1e157c4 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 # LoGraThor
 
-![Build status](https://git.astron.nl/lukken/lograthor/badges/main/pipeline.svg)
-![Test coverage](https://git.astron.nl/lukken/lograthor/badges/main/coverage.svg)
+![Build status](https://git.astron.nl/lofar2.0/lograthor/badges/main/pipeline.svg)
+![Test coverage](https://git.astron.nl/lofar2.0/lograthor/badges/main/coverage.svg)
 
 LOFAR 2.0 Multi Project Integrat(h)or (LoGraThor).
 
-- 
GitLab