forked from video-dev/hls.js
-
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.
this follows the same process that runs for canary releases
- Loading branch information
Tom Jenkinson
committed
Jan 26, 2019
1 parent
86b4e15
commit d93d453
Showing
4 changed files
with
57 additions
and
33 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,14 @@ | ||
# https://www.netlify.com/docs/netlify-toml-reference/ | ||
|
||
# Settings in the [build] context are global and are applied to all contexts | ||
# unless otherwise overridden by more specific contexts. | ||
[build] | ||
# Directory (relative to root of your repo) that contains the deploy-ready | ||
# HTML files and assets generated by the build. If a base directory has | ||
# been specified, include it in the publish directory path. | ||
publish = "netlify" | ||
|
||
# Deploy Preview context: all deploys resulting from a pull/merge request will | ||
# inherit these settings. | ||
[context.deploy-preview] | ||
command = "TRAVIS_MODE=netlifyPr ./scripts/travis.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
root="./netlify" | ||
|
||
rm -rf "$root" | ||
mkdir "$root" | ||
|
||
echo "Building netlify..." | ||
|
||
# redirect / to /demo | ||
echo "/ /demo" > "$root/_redirects" | ||
cp -r "./dist" "$root/dist" | ||
cp -r "./demo" "$root/demo" | ||
cp -r "./api-docs" "$root/api-docs" | ||
|
||
echo "Built 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