-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1818 from statechannels/netlify-toml
use multiple netlify.toml files
- Loading branch information
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters