Try running speedpack on netlify
This commit is contained in:
parent
fa38120b20
commit
bbd789ab23
4 changed files with 2792 additions and 179 deletions
|
@ -1,6 +1,6 @@
|
||||||
[build]
|
[build]
|
||||||
publish = "public/"
|
publish = "public/"
|
||||||
command = "./scripts/build.sh"
|
command = "./scripts/release.sh"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.40.3"
|
HUGO_VERSION = "0.40.3"
|
||||||
|
|
2957
package-lock.json
generated
2957
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -27,6 +27,7 @@
|
||||||
"lightgallery": "1.6.9",
|
"lightgallery": "1.6.9",
|
||||||
"mermaid": "7.1.2",
|
"mermaid": "7.1.2",
|
||||||
"plyr": "2.0.17",
|
"plyr": "2.0.17",
|
||||||
"popper.js": "1.14.3"
|
"popper.js": "1.14.3",
|
||||||
|
"speedpack": "0.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
9
scripts/release.sh
Executable file
9
scripts/release.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
source ./scripts/common.sh
|
||||||
|
|
||||||
|
bash ./scripts/build.sh
|
||||||
|
|
||||||
|
speedpack $OUTPUT_DIR -o $OUTPUT_DIR
|
Loading…
Reference in a new issue