diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e54569acfe0b57540bc0fc8cc0d165b02bcc0aec..b6db067f5fdd3a2805fdc24e35ba8e42184b6b5f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,9 @@ workflow:
     # WIP, NO-CI or 🚧 (gitmoji for "work in progress", aka :construction:)
     - 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
 
diff --git a/docs/.gitlab-ci.yml b/docs/.gitlab-ci.yml
index 216d4a7c8d01910ddc8fd96b03b3f01eeebcdc5b..ec82115aca5399e25b7d2a585d5363fba02de261 100644
--- a/docs/.gitlab-ci.yml
+++ b/docs/.gitlab-ci.yml
@@ -378,7 +378,7 @@ script_deploy_html: &script_deploy_html
       <body>\n
         Redirecting to <a href='${ONLINE_PATH}'>${ONLINE_PATH}</a>...\n
       </body>\n
-      </html>" > tmp/${PROJECT_PATH}/../index.html
+      </html>" > tmp/${PROJECT_PATH}/index.html
     - rsync -Oavz "tmp/" "${RSYNC_DEST}"
   rules:
     - *rules_prod