Skip to content

Commit

Permalink
Less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit committed Aug 18, 2023
1 parent de6bd96 commit 39509b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion utils/docgen/docgen-abis.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -euxo pipefail
set -e

echo "Docgen ABIs..."

Expand Down
2 changes: 1 addition & 1 deletion utils/docgen/docgen-contracts.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -euxo pipefail
set -e

echo "Docgen contracts..."

Expand Down

0 comments on commit 39509b5

Please sign in to comment.