-
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.
Merge pull request #194 from wizeline/netlify-setup
Add netlify setup
- Loading branch information
Showing
4 changed files
with
27 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.PHONY: build-tea build-site clean | ||
|
||
build-tea: | ||
cd design-system/; \ | ||
yarn; \ | ||
yarn build | ||
|
||
build-site: build-tea | ||
cd site/; \ | ||
yarn; \ | ||
yarn build | ||
|
||
clean: | ||
rm -rf design-system/node_modules | ||
|
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,11 @@ | ||
# Global settings applied to the whole site. | ||
# | ||
# ?publish? is the directory to publish (relative to root of your repo), | ||
# ?command? is your build command, | ||
# ?base? is directory to change to before starting build. if you set base: | ||
# that is where we will look for package.json/.nvmrc/etc not repo root! | ||
|
||
[build] | ||
base = "" | ||
publish = "site/catalog/build" | ||
command = "npm i -g [email protected] && make build-site" |
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