mirror of
https://github.com/TommyTran732/tommytran.io.git
synced 2025-12-22 23:22:11 +01:00
Site Upload
This commit is contained in:
33
netlify.toml
Normal file
33
netlify.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.102.2"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[[plugins]]
|
||||
package = "netlify-plugin-checklinks"
|
||||
|
||||
[plugins.inputs]
|
||||
# An array of glob patterns for pages on your site
|
||||
# Recursive traversal will start from these
|
||||
entryPoints = [
|
||||
"*.html",
|
||||
]
|
||||
|
||||
# Recurse through all the links and asset references on your page, starting
|
||||
# at the entrypoints
|
||||
recursive = true
|
||||
|
||||
# Checklinks outputs TAP (https://testanything.org/tap-version-13-specification.html)
|
||||
# by default. Enabling pretty mode makes the output easier on the eyes.
|
||||
pretty = true
|
||||
|
||||
# You can mark some check as skipped, which will block checklinks
|
||||
# from ever attempting to execute them.
|
||||
# skipPatterns is an array of strings you can match against failing reports
|
||||
skipPatterns = [
|
||||
"public/index.html",
|
||||
"public/about/index.html",
|
||||
"public/contact/index.html",
|
||||
"public/404.html",
|
||||
]
|
||||
Reference in New Issue
Block a user