Skip to content
Snippets Groups Projects
Unverified Commit c1d94fa5 authored by bgallois's avatar bgallois
Browse files

Revert "add doc to CI"

This reverts commit 7f086905.
parent 524a41a6
No related branches found
No related tags found
1 merge request!254Refac generated documentation
......@@ -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
......
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