Skip to content

Commit

Permalink
Merge pull request #1818 from statechannels/netlify-toml
Browse files Browse the repository at this point in the history
use multiple netlify.toml files
  • Loading branch information
geoknee authored Oct 10, 2023
2 parents eb0f620 + 830a63b commit 5b32f6d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions netlify-build-ignore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if [ $COMMIT_REF == $CACHED_COMMIT_REF ] ; then exit 0 ; fi

case ${SITE_NAME} in

nitrodocs)
git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- docs mkdocs.yml
;;

nitro-payment-demo)
git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- ./packages/payment-proxy-client
;;

esac
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build]
ignore = "if [ ${COMMIT_REF} == ${CACHED_COMMIT_REF} ] ; then false ; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- docs mkdocs.yml /packages/payment-proxy-client packages/nitro-rpc-client ; fi"
ignore = "bash ./netlify-build-ignore.sh"
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ go-nitro
- listens to blockchain events
- listens for counterparty messages
- stores important data to allow for recovery from counterparty inactivity / malice
- understands how to perform these functions safely without risking any funds
- understands how to perform these functions safely, without risking any funds

## Usage

> ⚠️ Go-nitro is pre-production software ⚠️
Go-nitro can be consumed either as [library code](./node/readme.md) or started in an [independent process](./doc.go) and interfaced with remote procedure calls (recommended).
Go-nitro can be consumed either as [library code](./node/readme.md) or run as an [independent process](./doc.go) and interfaced with remote procedure calls (recommended).

## Contributing

Expand Down

0 comments on commit 5b32f6d

Please sign in to comment.