mirror of
https://github.com/video-dev/hls.js.git
synced 2026-05-17 13:30:38 +00:00
d93d453955
this follows the same process that runs for canary releases
18 lines
269 B
Bash
Executable File
18 lines
269 B
Bash
Executable File
#!/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."
|