From e099419dd9598ed72d2383446bcfd9418ecf2bf4 Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Thu, 23 Nov 2023 13:06:33 +0100 Subject: [PATCH] added new script to cicd docs workflows --- .github/workflows/cd-docs.yml | 5 ++++- .github/workflows/ci-docs.yml | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-docs.yml b/.github/workflows/cd-docs.yml index 2f1f924861..a35302bb98 100644 --- a/.github/workflows/cd-docs.yml +++ b/.github/workflows/cd-docs.yml @@ -34,8 +34,11 @@ jobs: --vers "^1.8.0" mdbook-admonish && cargo install --vers \ "^0.1.2" mdbook-last-changed && cargo install --vers "^0.1.2" mdbook-theme \ && cargo install --vers "^0.7.7" mdbook-linkcheck + - name: Remove existing Nym config directory + run: cd documentation && ./remove_existing_config.sh + continue-on-error: false - name: Build all projects in documentation/ & move to ~/dist/docs/ - run: cd documentation && ./build_all_to_dist.sh + run: ./build_all_to_dist.sh continue-on-error: false - name: Post process diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index 3bcf0a2679..cff90f5ad6 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -39,9 +39,11 @@ jobs: # && mdbook-admonish install dev-portal \ # && mdbook-admonish install docs \ # && mdbook-admonish install operators - + - name: Remove existing Nym config directory + run: cd documentation && ./remove_existing_config.sh + continue-on-error: false - name: Build all projects in documentation/ & move to ~/dist/docs/ - run: cd documentation && ./build_all_to_dist.sh + run: ./build_all_to_dist.sh continue-on-error: false - name: Deploy branch to CI www continue-on-error: true