-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: deploy docs from CCI w/ netlify-cli (#3348)
We're just going to accept that docs reflect the entire monorepo, because: - needs to make snippets from live code, we don't want that code living anywhere special, just doc directives where the code lies - we want to run tsdoc, that needs ~everything because of codegen, typescript running etc And netlify CI isn't really meant for this level of complexity. We use netlify-cli instead. --------- Co-authored-by: ludamad <adam@aztecprotocol.com>
- Loading branch information
Showing
6 changed files
with
24 additions
and
1 deletion.
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
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 |
---|---|---|
|
@@ -8,3 +8,6 @@ build/ | |
cmake-build-debug | ||
.terraform* | ||
.bootstrapped | ||
|
||
# Local Netlify folder | ||
.netlify |
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
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,4 +1,4 @@ | ||
*.node_modules | ||
**/node_modules | ||
*.docusaurus | ||
*.processed-docs | ||
*.processed-docs-cache | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
* | ||
|
||
!docs | ||
docs/node_modules | ||
!l1-contracts/src | ||
!l1-contracts/test | ||
!barretenberg/cpp/src/barretenberg | ||
|
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,9 @@ | ||
#!/bin/bash | ||
[ -n "${BUILD_SYSTEM_DEBUG:-}" ] && set -x # conditionally trace | ||
set -eu | ||
|
||
extract_repo docs /usr/src extracted-repo | ||
cd extracted-repo/src/docs | ||
npm install netlify-cli -g | ||
netlify deploy --site aztec-docs-dev | ||
netlify deploy --site aztec-docs-dev --prod |