From af8c5fc3221b0ffa51a486bff08ce1efa656123b Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Wed, 3 Apr 2024 13:54:46 +0200
Subject: [PATCH] Revert "add doc to CI"

This reverts commit 7f0869057cb079418f42542c0814495d99d8e950.
---
 .gitlab-ci.yml | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ccf0155dc..f38b56750 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,33 +75,6 @@ fmt_and_clippy:
   - cargo clippy -- -V
   - cargo clippy -Zgit=shallow-deps --features runtime-benchmarks --all --tests -- -D warnings
 
-build_doc:
-  extends: .env
-  stage: tests #For testing
-  image: rust:1-bullseye
-  rules: # For testing
-    - if: $CI_COMMIT_REF_NAME =~ /^wip*$/
-      when: manual
-    - if: $CI_COMMIT_TAG
-      when: never
-    - if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"'
-    - when: manual
-  variables:
-    DEBIAN_FRONTEND: noninteractive
-    BASE_URL: "https://duniter.org/toDefine"
-    SERVER_IP: ""
-    SERVER_USER: ""
-    SERVER_PATH: ""
-  before_script:
-    - apt update && apt-get install openssh-client rsync
-    - eval $(ssh-agent -s)
-    - echo "$ SSH_PRIVATE_KEY" | ssh-add -
-  script:
-    - apt-get update
-    - apt-get install -y clang cmake protobuf-compiler
-    - cargo xtask gen-doc
-    - rsync -a .target/doc ${SERVER_USER}@${SERVER_IP}:${SERVER_PATH}
-
 run_benchmarks:
   extends: .env
   stage: tests
-- 
GitLab