forked from delannoyk/apollo-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add netlify config for deploy previews (apollographql#2208)
* Add netlify config for deploy previews * Trigger deploy * Remove circle config * Update docs repo branch * Use buttonlink component
- Loading branch information
1 parent
d52bb4c
commit 51c5e75
Showing
3 changed files
with
25 additions
and
36 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[build] | ||
ignore = "exit 0" | ||
|
||
[build.environment] | ||
NODE_VERSION = "16" | ||
|
||
[context.deploy-preview.build] | ||
base = "docs" | ||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ." | ||
command = """\ | ||
cd ../ | ||
rm -rf monodocs | ||
git clone https://github.com/apollographql/docs --branch main --single-branch monodocs | ||
cd monodocs | ||
npm i | ||
cp -r ../docs local | ||
DOCS_LOCAL=true npm run build \ | ||
""" | ||
publish = "../monodocs/public" |