-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ian Maddaus <[email protected]>
- Loading branch information
Showing
5 changed files
with
58 additions
and
4 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
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,12 @@ | ||
#!/bin/bash | ||
|
||
set -eou pipefail | ||
|
||
### | ||
# Local deploy preview using Netlify CLI | ||
# https://docs.netlify.com/cli/get-started/ | ||
# Run 'netlify dev' | ||
### | ||
|
||
pushd themes/docs-new && npm install && popd | ||
hugo server -b localhost:1313 |
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,14 @@ | ||
#!/bin/bash | ||
|
||
set -eou pipefail | ||
|
||
### | ||
# Generate Netlify branch builds | ||
# https://docs.netlify.com/site-deploys/overview/#branches-and-deploys | ||
### | ||
|
||
echo Branch: $HEAD | ||
echo Branch deploy URL: $DEPLOY_PRIME_URL | ||
|
||
pushd themes/docs-new && npm install && popd | ||
hugo --gc --minify --enableGitInfo |
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,14 @@ | ||
#!/bin/bash | ||
|
||
set -eou pipefail | ||
|
||
### | ||
# Generate Netlify build previews for a pull request | ||
# https://docs.netlify.com/site-deploys/overview/#branches-and-deploys | ||
### | ||
|
||
echo Branch: $HEAD | ||
echo Branch deploy URL: $DEPLOY_PRIME_URL | ||
|
||
pushd themes/docs-new && npm install && popd | ||
hugo --gc --minify --enableGitInfo --buildFuture |
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,14 @@ | ||
#!/bin/bash | ||
|
||
set -eou pipefail | ||
|
||
### | ||
# Generate Netlify production builds | ||
# https://docs.netlify.com/site-deploys/overview/#branches-and-deploys | ||
### | ||
|
||
echo Branch: $HEAD | ||
echo Branch deploy URL: $DEPLOY_PRIME_URL | ||
|
||
pushd themes/docs-new && npm install && popd | ||
hugo --gc --minify --enableGitInfo |