From 39509b57f2e23a78eb0bb1e1bd1d10225212b274 Mon Sep 17 00:00:00 2001 From: Noisekit Date: Fri, 18 Aug 2023 11:00:28 +0800 Subject: [PATCH] Less verbose --- .circleci/config.yml | 10 ---------- utils/docgen/docgen-abis.sh | 2 +- utils/docgen/docgen-contracts.sh | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07fd7025e0..3519d597b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -166,16 +166,6 @@ jobs: git commit -m "Update Smart Contracts" git push --set-upstream --force origin smart-contracts - - run: - working_directory: ~/synthetix-gitbook-v3 - name: "Create Pull Request for smart-contracts branch" - command: | - STATUS=$(git status) - if [[ $STATUS == *"nothing to commit, working tree clean"* ]]; then - echo "SKIP. Working tree is clean. No changes to Smart Contracts docs" - exit 0 - fi - PR_URL=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \ https://api.github.com/repos/Synthetixio/Synthetix-Gitbook-v3/pulls?state=open | \ jq -r '.[] | select(.head.ref=="smart-contracts") | .html_url') diff --git a/utils/docgen/docgen-abis.sh b/utils/docgen/docgen-abis.sh index 715170f037..c26ebaaca2 100755 --- a/utils/docgen/docgen-abis.sh +++ b/utils/docgen/docgen-abis.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -euxo pipefail +set -e echo "Docgen ABIs..." diff --git a/utils/docgen/docgen-contracts.sh b/utils/docgen/docgen-contracts.sh index a821e0ebbb..f468551e22 100755 --- a/utils/docgen/docgen-contracts.sh +++ b/utils/docgen/docgen-contracts.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -euxo pipefail +set -e echo "Docgen contracts..."