From 356b55243940243e9609eecf3c712c120aad2dba Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 13 Jul 2020 20:44:16 -0600 Subject: [PATCH] Remove docs step from buildkite flow (#11035) Co-authored-by: publish-docs.sh --- ci/buildkite-secondary.yml | 3 --- ci/publish-docs.sh | 32 -------------------------------- 2 files changed, 35 deletions(-) delete mode 100755 ci/publish-docs.sh diff --git a/ci/buildkite-secondary.yml b/ci/buildkite-secondary.yml index 5f0289aa5..228f914e9 100644 --- a/ci/buildkite-secondary.yml +++ b/ci/buildkite-secondary.yml @@ -5,9 +5,6 @@ steps: - command: "ci/publish-tarball.sh" timeout_in_minutes: 60 name: "publish tarball" - - command: "ci/publish-docs.sh" - timeout_in_minutes: 15 - name: "publish docs" - command: "ci/publish-bpf-sdk.sh" timeout_in_minutes: 5 name: "publish bpf sdk" diff --git a/ci/publish-docs.sh b/ci/publish-docs.sh deleted file mode 100755 index 729f92b17..000000000 --- a/ci/publish-docs.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash -set -e - -cd "$(dirname "$0")/.." - -echo --- build docs -( - set -x - . ci/rust-version.sh stable - ci/docker-run.sh "$rust_stable_docker_image" docs/build.sh -) - -echo --- update gitbook-cage -if [[ -n $CI_BRANCH ]]; then - ( - # make a local commit for the svgs and generated/updated markdown - set -x - git add -f docs/src - if ! git diff-index --quiet HEAD; then - git config user.email maintainers@solana.foundation - git config user.name "$(basename "$0")" - git commit -m "gitbook-cage update $(date -Is)" - git push -f git@github.com:solana-labs/solana-gitbook-cage.git HEAD:refs/heads/"$CI_BRANCH" - # pop off the local commit - git reset --hard HEAD~ - fi - ) -else - echo CI_BRANCH not set -fi - -exit 0